FontDialogButton


Object Hierarchy:

Object hierarchy for FontDialogButton

Description:

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

Opens a font chooser dialog to select a font.

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

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