Emitted when a font is activated. This usually happens when the user double clicks an item, or an item is selected and the user presses one of the keys Space, Shift+Space, Return or Enter. See Also GtkFontChooserDialog, GtkFontChooserWidget, GtkFontButton
Gets the currently-selected font name. Note that this can be a different string than what you set with gtk_font_chooser_set_font(), as the font chooser widget may normalize font names and thus return a string with a different structure. For example, "Helvetica Italic Bold 12" could be normalized to "Helvetica Bold Italic 12". Use pango_font_description_equal() if you want to compare two font descriptions.
Gets the currently-selected font. Note that this can be a different string than what you set with gtk_font_chooser_set_font(), as the font chooser widget may normalize font names and thus return a string with a different structure. For example, "Helvetica Italic Bold 12" could be normalized to "Helvetica Bold Italic 12". Use pango_font_description_equal() if you want to compare two font descriptions.
Gets the PangoFontFace representing the selected font group details (i.e. family, slant, weight, width, etc). If the selected font is not installed, returns NULL.
Gets the PangoFontFamily representing the selected font family. Font families are a collection of font faces. If the selected font is not installed, returns NULL.
The selected font size.
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.
Sets the currently-selected font from font_desc.
Sets the text displayed in the preview area. The text is used to show how the selected font looks.
Shows or hides the editable preview entry.
the main Gtk struct
GtkFontChooser is an interface that can be implemented by widgets displaying the list of fonts. In GTK+, the main objects that implement this interface are GtkFontChooserWidget, GtkFontChooserDialog and GtkFontButton.