Gnome::Gtk4::FontChooserDialog
Description
The Gnome::Gtk4::FontChooserDialog widget is a dialog for selecting a font.
Gnome::Gtk4::FontChooserDialog implements the Gnome::Gtk4::R-FontChooser interface and does not provide much API of its own.
To create a Gnome::Gtk4::FontChooserDialog, use .newfontchooserdialog()
.
GtkFontChooserDialog as GtkBuildable
The Gnome::Gtk4::FontChooserDialog implementation of the Gnome::Gtk4::R-Buildable interface exposes the buttons with the names “select_button” and “cancel_button”.
CSS nodes
Gnome::Gtk4::FontChooserDialog has a single CSS node with the name window and style class `.fontchooser`.
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 elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object :$native-object! )
new-fontchooserdialog
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
Creates a new Gnome::Gtk4::FontChooserDialog.
method new-fontchooserdialog ( Str $title, N-Object() $parent --> Gnome::Gtk4::FontChooserDialog \)
$title; Title of the dialog.
$parent; Transient parent of the dialog.