Gnome::Gtk4::FontChooserWidget
Table of Contents
Description§
The Gnome::Gtk4::FontChooserWidget widget lets the user select a font.
It is used in the Gnome::Gtk4::FontChooserDialog widget to provide a dialog for selecting fonts.
To set the font which is initially selected, use .set-font() in class FontChooser or .set-font-desc() in class FontChooser.
To get the selected font use .get-font() in class FontChooser or .get-font-desc() in class FontChooser.
To change the text which is shown in the preview area, use .set-preview-text() in class FontChooser.
CSS nodes§
Gnome::Gtk4::FontChooserWidget has a single CSS node with name fontchooser.
Uml Diagram§
UNKNOWN image§
=for image :class<inline> :src<asset_files/images/plantuml/FontChooserWidget.png> :width<70\%>Class initialization§
Note: The native version of this class is deprecated in gtk4-lib() since version 4.10
new§
:native-object§
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
new-fontchooserwidget§
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
Creates a new Gnome::Gtk4::FontChooserWidget.
method new-fontchooserwidget ( --> Gnome::Gtk4::FontChooserWidget )
About my projects, examples and tutorials