FontChooserDialog


Object Hierarchy:

Object hierarchy for FontChooserDialog

Description:

[ CCode ( type_id = "gtk_font_chooser_dialog_get_type ()" ) ]
[ Version ( since = "3.2" ) ]
public class FontChooserDialog : Dialog, Implementor, Buildable, FontChooser

The `GtkFontChooserDialog` widget is a dialog for selecting a font.

Note:

Use [class@Gtk.FontDialog] instead

<picture> <source srcset="fontchooser-dark.png" media="(prefers-color-scheme: dark)"> <img alt="An example GtkFontChooserDialog" src="fontchooser.png"> </picture>

`GtkFontChooserDialog` implements the [iface@Gtk.FontChooser] interface and does not provide much API of its own.

To create a `GtkFontChooserDialog`, use [ctor@Gtk.FontChooserDialog.new].

GtkFontChooserDialog as GtkBuildable

The `GtkFontChooserDialog` implementation of the `GtkBuildable` interface exposes the buttons with the names “select_button” and “cancel_button”.

CSS nodes

`GtkFontChooserDialog` has a single CSS node with the name `window` and style class `.fontchooser`.


Namespace: Gtk
Package: gtk+-3.0

Content:

Creation methods:

Inherited Members:

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