FontButton


Object Hierarchy:

Object hierarchy for FontButton

Description:

[ CCode ( type_id = "gtk_font_button_get_type ()" ) ]
public class FontButton : Widget, Accessible, Buildable, ConstraintTarget, FontChooser

The `GtkFontButton` allows to open a font chooser dialog to change the font.

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

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

CSS nodes

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

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