Skip to content

@gtkx/react / GtkFontButton

Variable: GtkFontButton

const GtkFontButton: "GtkFontButton"

Defined in: packages/react/src/generated/jsx.ts:12883

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

An example GtkFontButton

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.