The `GtkFontButton` allows to open a font chooser dialog to change the font.
Use [class@Gtk.FontDialogButton] instead
<picture> <source srcset="font-button-dark.png" media="(prefers-color-scheme: dark)"> <img alt="An example GtkFontButton" src="font-button.png"> </picture>
It is suitable widget for selecting a font in a preference dialog.
``` fontbutton ╰── button.font ╰── [content] ```
`GtkFontButton` has a single CSS node with name fontbutton which contains a button node with the .font style class.