GOffice.FormatSel¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2) | 
|---|---|
| Structs: | Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5) | 
| class | new() | 
| class | new_full(use_markup) | 
| editable_enters(window) | |
| get_dateconv() | |
| get_fmt() | |
| hide_preview() | |
| set_dateconv(date_conv) | |
| set_focus() | |
| set_locale(locale) | |
| set_style_format(style_format) | |
| show_preview() | 
Virtual Methods¶
| Inherited: | Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10) | 
|---|
Properties¶
| Inherited: | Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1) | 
|---|
Child Properties¶
| Inherited: | Gtk.Box (5) | 
|---|
Style Properties¶
| Inherited: | Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Short Description | 
|---|---|
| format-changed | |
| generate-preview | 
Fields¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
Class Details¶
- 
class GOffice.FormatSel(*args, **kwargs)¶
- Bases: - Gtk.Box- Abstract: - No - 
classmethod new()¶
- Returns: - a format selector widget. - Return type: - Gtk.Widget- Creates a format selector widget, with general format selected by default, and formats using pango markup disabled. See go_format_sel_new_full. 
 - 
classmethod new_full(use_markup)¶
- Parameters: - use_markup ( - bool) – enable formats using pango markup- Returns: - a format selector widget. - Return type: - Gtk.Widget- Creates a format selector widget, with general format selected by default. When use_markup is set to - True, it shows additional widgets for editing properties of formats using pango markup (e.g. scientific format with superscripted exponent).
 - 
editable_enters(window)¶
- Parameters: - window ( - Gtk.Window) –
 - 
get_dateconv()¶
- Returns: - the - GOffice.DateConventions.- Return type: - GOffice.DateConventions
 - 
get_fmt()¶
- Returns: - the - GOffice.Format.- Return type: - GOffice.Format
 - 
hide_preview()¶
 - 
set_dateconv(date_conv)¶
- Parameters: - date_conv ( - GOffice.DateConventions) –
 - 
set_focus()¶
 - 
set_style_format(style_format)¶
- Parameters: - style_format ( - GOffice.Format) –
 - 
show_preview()¶
 
- 
classmethod 
Signal Details¶
- 
GOffice.FormatSel.signals.format_changed(format_sel, object)¶
- Signal Name: - format-changed- Flags: - Parameters: - format_sel (GOffice.FormatSel) – The object which received the signal
- object (objectorNone) –
 
- format_sel (