FontChooser
GtkFontChooser
is an interface that can be implemented by widgets for choosing fonts.
In GTK, the main objects that implement this interface are class@Gtk.FontChooserWidget, class@Gtk.FontChooserDialog and class@Gtk.FontButton.
Skipped during bindings generation
method
font
: Property TypeInfo of getter and setter do not matchmethod
font-desc
: Property TypeInfo of getter and setter do not match
Inheritors
Properties
The selected font features.
The level of granularity to offer for selecting fonts.
The string with which to preview the font.
Whether to show an entry to change the preview text.
Functions
Emitted when a font is activated.
Gets the currently-selected font.
Gets the PangoFontFace
representing the selected font group details (i.e. family, slant, weight, width, etc).
Gets the PangoFontFamily
representing the selected font family.
Gets the currently-selected font features.
Gets the custom font map of this font chooser widget, or null if it does not have one.
The selected font size.
Gets the language that is used for font features.
Returns the current level of granularity for selecting fonts.
Gets the text displayed in the preview area.
Returns whether the preview entry is shown or not.
Adds a filter function that decides which fonts to display in the font chooser.
Sets the currently-selected font from @font_desc.
Sets a custom font map to use for this font chooser widget.
Sets the language to use for font features.
Sets the desired level of granularity for selecting fonts.
Sets the text displayed in the preview area.
Shows or hides the editable preview entry.