Basics
Guides
API Reference
Basics
Guides
API Reference
[21:7] extends: object
The GtkFontChooserDialog widget is a dialog for selecting a font.
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”. ## CSS nodes
GtkFontChooserDialog has a single CSS node with the name window and style
class .fontchooser.
GtkFontChooserDialog (title = null, parent = null)
Creates a new
GtkFontChooserDialog.
title is Title of the dialog.parent is Transient parent of the dialog.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asDialog ()
Wraps this handle as
GtkDialog.
A GtkDialog object.asAccessible ()
Wraps this handle as
GtkAccessible.
A GtkAccessible object.asBuildable ()
Wraps this handle as
GtkBuildable.
A GtkBuildable object.asConstraintTarget ()
Wraps this handle as
GtkConstraintTarget.
A GtkConstraintTarget object.asFontChooser ()
Wraps this handle as
GtkFontChooser.
A GtkFontChooser object.asNative ()
Wraps this handle as
GtkNative.
A GtkNative object.asRoot ()
Wraps this handle as
GtkRoot.
A GtkRoot object.asShortcutManager ()
Wraps this handle as
GtkShortcutManager.
A GtkShortcutManager object.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.