Package: gtk

Interface gtk-font-chooser

Superclasses

g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

font
The font property of type :string (Read / Write)
The font description as a string, e.g. "Sans Italic 12".
Default value: "Sans 12"
font-desc
The font-desc property of type pango-font-description (Read / Write)
The Pango font description.
font-features
The font-features property of type :string (Read)
The selected font features, in a format that is compatible with CSS and with Pango attributes. Since 3.22
Default value: nil
language
The language property of type :string (Read / Write)
The language for which the font-features property were selected, in a format that is compatible with CSS and with Pango attributes. Since 3.22
level
The level property of type gtk-font-chooser-level (Read / Write)
The level of granularity to offer for selecting fonts. Since 3.22
Default value: (:STYLE :SIZE)
preview-text
The preview-text property of type :string (Read / Write)
The string with which to preview the font.
Default value: nil
show-preview-entry
The show-preview-entry property of type :boolean (Read / Write)
Whether to show an entry to change the preview text.
Default value: true

Details

The gtk-font-chooser interface is an interface that can be implemented by widgets displaying the list of fonts. In GTK+, the main widgets that implement this interface are gtk-font-chooser-widget, gtk-font-chooser-dialog and gtk-font-button.

Signal Details

The "font-activated" signal
 lambda (fontchooser fontname)    :run-first      
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 Space, Shift+Space, Return or Enter keys.
fontchooser
The gtk-font-chooser widget which received the signal.
fontname
A string with the font name.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2021-1-20