Package: gtk

Class gtk-font-chooser-widget

Superclasses

gtk-box, gtk-container, gtk-widget, gtk-buildable, gtk-orientable, gtk-font-chooser, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

tweak-action
The tweak-action property of type g-action (Read)
A toggle action that can be used to switch to the tweak page of the font chooser widget, which lets the user tweak the OpenType features and variation axes of the selected font. The action will be enabled or disabled depending on whether the selected font has any features or axes.

Details

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.
 

Inherited Slot Access Functions

See also

2020-6-6