GOffice.FontSel¶
| Subclasses: | None | 
|---|
Methods¶
| class | new() | 
| editable_enters(dialog) | |
| get_color() | |
| get_font() | |
| get_font_desc() | |
| get_sample_attributes() | |
| set_color(c, is_default) | |
| set_family(family) | |
| set_font(font) | |
| set_font_desc(desc) | |
| set_sample_attributes(attrs) | |
| set_sample_text(text) | |
| set_script(script) | |
| set_size(size) | |
| set_strikethrough(strikethrough) | |
| set_style(weight, style) | 
Virtual Methods¶
| Inherited: | Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.FontChooser (7) | 
|---|
Properties¶
| Inherited: | Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1), Gtk.FontChooser (7) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| color-default | int | r/w/co | The color to show for an unset color | 
| color-group | GOffice.ColorGroup | r/w/co | The color group to use for the color picker | 
| color-unset-text | str | r/w/co | The text to show for selecting no color | 
| show-color | bool | r/w/co | Whether color is part of the GOffice.fontbeing selected | 
| show-script | bool | r/w/co | Whether subscript/superscript is part of the GOffice.fontbeing selected | 
| show-strikethrough | bool | r/w/co | Whether strikethrough is part of the GOffice.fontbeing selected | 
| show-style | bool | r/w/co | Whether style is part of the GOffice.fontbeing selected | 
| show-underline | bool | r/w/co | Whether underlining is part of the GOffice.fontbeing selected | 
| underline-picker | Gtk.Widget | r/w/co | The widget to use for picking underline type | 
Child Properties¶
| Inherited: | Gtk.Box (5) | 
|---|
Style Properties¶
| Inherited: | Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1), Gtk.FontChooser (1) | 
|---|
| Name | Short Description | 
|---|---|
| font-changed | 
Fields¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1), Gtk.FontChooser (1) | 
|---|
Class Details¶
- 
class GOffice.FontSel(*args, **kwargs)¶
- Bases: - Gtk.Box,- Gtk.FontChooser- Abstract: - No - 
classmethod new()¶
- Return type: - Gtk.Widget
 - 
editable_enters(dialog)¶
- Parameters: - dialog ( - Gtk.Window) –
 - 
get_font()¶
- Return type: - GOffice.Font
 - 
get_font_desc()¶
- Returns: - a description of the - GOffice.fontset.- Return type: - Pango.FontDescription
 - 
get_sample_attributes()¶
- Return type: - Pango.AttrList
 - 
set_font(font)¶
- Parameters: - font ( - GOffice.Font) –
 - 
set_font_desc(desc)¶
- Parameters: - desc ( - Pango.FontDescription) –
 - 
set_sample_attributes(attrs)¶
- Parameters: - attrs ( - Pango.AttrList) –
 - 
set_script(script)¶
- Parameters: - script ( - GOffice.FontScript) –
 - 
set_style(weight, style)¶
- Parameters: - weight (Pango.Weight) –
- style (Pango.Style) –
 
- weight (
 
- 
classmethod 
Signal Details¶
- 
GOffice.FontSel.signals.font_changed(font_sel, object)¶
- Signal Name: - font-changed- Flags: - Parameters: - font_sel (GOffice.FontSel) – The object which received the signal
- object (objectorNone) –
 
- font_sel (
Property Details¶
- 
GOffice.FontSel.props.color_default¶
- Name: - color-default- Type: - int- Default Value: - 255- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The color to show for an unset color 
- 
GOffice.FontSel.props.color_group¶
- Name: - color-group- Type: - GOffice.ColorGroup- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The color group to use for the color picker 
- 
GOffice.FontSel.props.color_unset_text¶
- Name: - color-unset-text- Type: - str- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The text to show for selecting no color 
- 
GOffice.FontSel.props.show_color¶
- Name: - show-color- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Whether color is part of the - GOffice.fontbeing selected
- 
GOffice.FontSel.props.show_script¶
- Name: - show-script- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Whether subscript/superscript is part of the - GOffice.fontbeing selected
- 
GOffice.FontSel.props.show_strikethrough¶
- Name: - show-strikethrough- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Whether strikethrough is part of the - GOffice.fontbeing selected
- 
GOffice.FontSel.props.show_style¶
- Name: - show-style- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Whether style is part of the - GOffice.fontbeing selected
- 
GOffice.FontSel.props.show_underline¶
- Name: - show-underline- Type: - bool- Default Value: - False- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- Whether underlining is part of the - GOffice.fontbeing selected
- 
GOffice.FontSel.props.underline_picker¶
- Name: - underline-picker- Type: - Gtk.Widget- Default Value: - None- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The widget to use for picking underline type