FontButton


Object Hierarchy:

Object hierarchy for FontButton

Description:

[ CCode ( type_id = "gtk_font_button_get_type ()" ) ]
public class FontButton : Button, Implementor, Actionable, Activatable, Buildable, FontChooser

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

Note:

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.

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: gtk+-3.0

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor