FontChooserWidget
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_font_chooser_widget_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class FontChooserWidget : Widget, Accessible, Buildable, ConstraintTarget, FontChooser
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class FontChooserWidget : Widget, Accessible, Buildable, ConstraintTarget, FontChooser
Warning: FontChooserWidget is deprecated since 4.10.
The `GtkFontChooserWidget` widget lets the user select a font.
Note:
Direct use of `GtkFontChooserWidget` is deprecated.
It is used in the `GtkFontChooserDialog` widget to provide a dialog for selecting fonts.
To set the font which is initially selected, use [method@Gtk.FontChooser.set_font] or [method@Gtk.FontChooser.set_font_desc].
To get the selected font use [method@Gtk.FontChooser.get_font] or [method@Gtk.FontChooser.get_font_desc].
To change the text which is shown in the preview area, use [method@Gtk.FontChooser.set_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
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.FontChooser