FontDialogButton


Object Hierarchy:

Gtk.FontDialogButton Gtk.FontDialogButton Gtk.FontDialogButton Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.FontDialogButton GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.FontDialogButton Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.FontDialogButton Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.FontDialogButton Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "gtk_font_dialog_button_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class FontDialogButton : Widget, Accessible, Buildable, ConstraintTarget

The `GtkFontDialogButton` is wrapped around a [class@Gtk.

FontDialog] and allows to open a font chooser dialog to change the font.

![An example GtkFontDialogButton](font-button.png)

It is suitable widget for selecting a font in a preference dialog.

CSS nodes

``` fontbutton ╰── button.font ╰── [content] ```

`GtkFontDialogButton` has a single CSS node with name fontbutton which contains a button node with the .font style class.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget