FontChooserWidget

Deprecated since version 4.10: Direct use of GtkFontChooserWidget is deprecated.

class FontChooserWidget(**properties: Any)

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget, FontChooser

Constructors:

FontChooserWidget(**properties)
new() -> Gtk.Widget

Constructors

class FontChooserWidget
classmethod new() Widget

Creates a new GtkFontChooserWidget.

Deprecated since version 4.10: Direct use of GtkFontChooserWidget is deprecated.

Properties

class FontChooserWidget
props.tweak_action: Action

A toggle action that can be used to switch to the tweak page of the font chooser widget, which lets the user tweak the OpenType features and variation axes of the selected font.

The action will be enabled or disabled depending on whether the selected font has any features or axes.