GOffice.FontSel¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2), Gtk.FontChooser (19)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The color to show for an unset color |
||
r/w/co |
The color group to use for the color picker |
||
r/w/co |
The text to show for selecting no color |
||
r/w/co |
Whether color is part of the |
||
r/w/co |
Whether subscript/superscript is part of the |
||
r/w/co |
Whether strikethrough is part of the |
||
r/w/co |
Whether style is part of the |
||
r/w/co |
Whether underlining is part of the |
||
r/w/co |
The widget to use for picking underline type |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
Name |
Short Description |
---|---|
Fields¶
Class Details¶
- class GOffice.FontSel(*args, **kwargs)¶
- Bases:
- Abstract:
No
- classmethod new()¶
- Return type:
- editable_enters(dialog)¶
- Parameters:
dialog (
Gtk.Window
) –
- get_font()¶
- Return type:
- get_font_desc()¶
- Returns:
a description of the
GOffice.font
set.- Return type:
- get_sample_attributes()¶
- Return type:
- 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
) –
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
Property Details¶
- GOffice.FontSel.props.color_default¶
- Name:
color-default
- Type:
- Default Value:
255
- Flags:
The color to show for an unset color
- GOffice.FontSel.props.color_group¶
- Name:
color-group
- Type:
- Default Value:
- Flags:
The color group to use for the color picker
- GOffice.FontSel.props.color_unset_text¶
- Name:
color-unset-text
- Type:
- Default Value:
- Flags:
The text to show for selecting no color
- GOffice.FontSel.props.show_color¶
- Name:
show-color
- Type:
- Default Value:
- Flags:
Whether color is part of the
GOffice.font
being selected
- GOffice.FontSel.props.show_script¶
- Name:
show-script
- Type:
- Default Value:
- Flags:
Whether subscript/superscript is part of the
GOffice.font
being selected
- GOffice.FontSel.props.show_strikethrough¶
- Name:
show-strikethrough
- Type:
- Default Value:
- Flags:
Whether strikethrough is part of the
GOffice.font
being selected
- GOffice.FontSel.props.show_style¶
- Name:
show-style
- Type:
- Default Value:
- Flags:
Whether style is part of the
GOffice.font
being selected
- GOffice.FontSel.props.show_underline¶
- Name:
show-underline
- Type:
- Default Value:
- Flags:
Whether underlining is part of the
GOffice.font
being selected
- GOffice.FontSel.props.underline_picker¶
- Name:
underline-picker
- Type:
- Default Value:
- Flags:
The widget to use for picking underline type