FontChooserWidget#
Deprecated since version 4.10: Direct use of GtkFontChooserWidget
is deprecated.
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
, FontChooser
The GtkFontChooserWidget
widget lets the user select a font.
It is used in the GtkFontChooserDialog
widget to provide a
dialog for selecting fonts.
To set the font which is initially selected, use
set_font
or set_font_desc
.
To get the selected font use get_font
or
get_font_desc
.
To change the text which is shown in the preview area, use
set_preview_text
.
CSS nodes#
GtkFontChooserWidget
has a single CSS node with name fontchooser.