Package org.gnome.gtk

Class FontDialogButton

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Buildable, ConstraintTarget

@Generated("io.github.jwharm.JavaGI") public class FontDialogButton extends Widget implements 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.

Since:
4.10