FontChooserDialog


Object Hierarchy:

Gtk.FontChooserDialog Gtk.FontChooserDialog Gtk.FontChooserDialog Gtk.Dialog Gtk.Dialog Gtk.Dialog->Gtk.FontChooserDialog Gtk.Window Gtk.Window Gtk.Window->Gtk.Dialog Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Window GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.FontChooserDialog Gtk.Accessible->Gtk.Dialog Gtk.Accessible->Gtk.Window Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.FontChooserDialog Gtk.Buildable->Gtk.Dialog Gtk.Buildable->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.FontChooserDialog Gtk.ConstraintTarget->Gtk.Dialog Gtk.ConstraintTarget->Gtk.Window Gtk.ConstraintTarget->Gtk.Widget Gtk.Native Gtk.Native Gtk.Native->Gtk.FontChooserDialog Gtk.Native->Gtk.Dialog Gtk.Native->Gtk.Window Gtk.Root Gtk.Root Gtk.Root->Gtk.FontChooserDialog Gtk.Root->Gtk.Dialog Gtk.Root->Gtk.Window Gtk.ShortcutManager Gtk.ShortcutManager Gtk.ShortcutManager->Gtk.FontChooserDialog Gtk.ShortcutManager->Gtk.Dialog Gtk.ShortcutManager->Gtk.Window Gtk.FontChooser Gtk.FontChooser Gtk.FontChooser->Gtk.FontChooserDialog

Description:

[ CCode ( type_id = "gtk_font_chooser_dialog_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed 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

![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”.

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