Class FontChooserDialog

All Implemented Interfaces:
PointerInterface

public class FontChooserDialog extends Dialog
The `GtkFontChooserDialog` widget is a dialog for selecting a font.

![An example GtkFontChooserDialog](fontchooser.png)

`GtkFontChooserDialog` implements the [iface@Gtk.FontChooser] interface
and does not provide much API of its own.

To create a `GtkFontChooserDialog`, use [ctor@Gtk.FontChooserDialog.new].

# GtkFontChooserDialog as GtkBuildable

The `GtkFontChooserDialog` implementation of the `GtkBuildable`
interface exposes the buttons with the names “select_button”
and “cancel_button”.

https://docs.gtk.org/gtk4/class.FontChooserDialog.html

  • Constructor Details

    • FontChooserDialog

      public FontChooserDialog(PointerContainer pointer)
    • FontChooserDialog

      public FontChooserDialog(@Nullable Str title, @Nullable Window parent)
      Creates a new `GtkFontChooserDialog`.
      Parameters:
      title - Title of the dialog
      parent - Transient parent of the dialog
    • FontChooserDialog

      public FontChooserDialog(String title, @Nullable Window parent)
      Creates a new `GtkFontChooserDialog`.
      Parameters:
      title - Title of the dialog
      parent - Transient parent of the dialog
  • Method Details