FontChooserDialog


Object Hierarchy:

Object hierarchy for FontChooserDialog

Description:

[ CCode ( type_id = "gtk_font_chooser_dialog_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public class FontChooserDialog : Dialog, Accessible, Buildable, ConstraintTarget, FontChooser, Native, Root, ShortcutManager

Warning: FontChooserDialog is deprecated since 4.10.

The `GtkFontChooserDialog` widget is a dialog for selecting a font.

Note:

Use [class@Gtk.FontDialog] instead

<picture> <source srcset="fontchooser-dark.png" media="(prefers-color-scheme: dark)"> <img alt="An example GtkFontChooserDialog" src="fontchooser.png"> </picture>

`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`.


Namespace: Gtk
Package: gtk4

Content:

Creation methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Gtk.Native
All known members inherited from interface Gtk.Root
All known members inherited from interface Gtk.ShortcutManager