BaseWidget#

class ignis.base_widget.BaseWidget(setup: Callable | None = None, vexpand: bool = False, hexpand: bool = False, visible: bool = True, **kwargs)#

Bases: IgnisGObject.

The base class for all widgets. Provides style property and allows overriding enums.

override_enum(property_name: str, enum: Any) None#

Override an enum.

Parameters:
  • property_name (str) -- The name of the property to override.

  • enum (GObject.GEnum) -- An enum that accepts the property to be overridden. For example, for valign it will be Gtk.Align.

Return type:

None