The
gtk-font-chooser-widget widget lists the available fonts, styles
and sizes, allowing the user to select a font. It is used in the
gtk-font-chooser-dialog widget to provide a dialog
box for selecting fonts.
To set or to get the font which is initially selected, use the functions
gtk-font-chooser-font or
gtk-font-chooser-font-desc.
To change the text which is shown in the preview area, use the function
gtk-font-chooser-preview-text.
CSS nodes
The
gtk-font-chooser-widget class has a single CSS node with name
fontchooser.