FontChooserWidget


Object Hierarchy:

Gtk.FontChooserWidget Gtk.FontChooserWidget Gtk.FontChooserWidget Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.FontChooserWidget GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.FontChooserWidget Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.FontChooserWidget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.FontChooserWidget Gtk.ConstraintTarget->Gtk.Widget Gtk.FontChooser Gtk.FontChooser Gtk.FontChooser->Gtk.FontChooserWidget

Description:

[ CCode ( type_id = "gtk_font_chooser_widget_get_type ()" ) ]
public class FontChooserWidget : Widget, Accessible, Buildable, ConstraintTarget, FontChooser

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 [[email protected]_font] or [[email protected]_font_desc].

To get the selected font use [[email protected]_font] or [[email protected]_font_desc].

To change the text which is shown in the preview area, use [[email protected]_preview_text].

CSS nodes

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


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object



2022 vala-language.org