Package org.gnome.gtk

Class FontChooserWidget

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

@Generated("io.github.jwharm.JavaGI") @Deprecated public class FontChooserWidget extends Widget implements Accessible, Buildable, ConstraintTarget, FontChooser
Deprecated.
The GtkFontChooserWidget widget lets the user select a font.

It is used in the GtkFontChooserDialog widget to provide a dialog for selecting fonts.

To set the font which is initially selected, use FontChooser.setFont(java.lang.String) or FontChooser.setFontDesc(org.gnome.pango.FontDescription).

To get the selected font use FontChooser.getFont() or FontChooser.getFontDesc().

To change the text which is shown in the preview area, use FontChooser.setPreviewText(java.lang.String).

CSS nodes
GtkFontChooserWidget has a single CSS node with name fontchooser.