About my projects, examples and tutorials
Gnome::Gtk4::FontChooserDialog

Gnome::Gtk4::FontChooserDialog

Description§

The Gnome::Gtk4::FontChooserDialog widget is a dialog for selecting a font.

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/fontchooser.png> :width<30\%>

Gnome::Gtk4::FontChooserDialog implements the /content-docs/api2/reference/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`.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/FontChooserDialog.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! )
Code

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 )
Code
  • $title; Title of the dialog.
  • $parent; Transient parent of the dialog.