FontButton
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_font_button_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class FontButton : Widget, Accessible, Buildable, ConstraintTarget, FontChooser
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class FontButton : Widget, Accessible, Buildable, ConstraintTarget, FontChooser
Warning: FontButton is deprecated since 4.10.
The `GtkFontButton` allows to open a font chooser dialog to change the font.
Note:
Use [class@Gtk.FontDialogButton] instead
![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
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.FontChooser