StyleSchemePreview#
Added in version 5.4.
Superclasses: Widget, InitiallyUnowned, Object
Implemented Interfaces: Accessible, Actionable, Buildable, ConstraintTarget
A preview widget for StyleScheme.
This widget provides a convenient Widget to preview a StyleScheme.
The selected property can be used to manage
the selection state of a single preview widget.
Constructors#
- class StyleSchemePreview
- classmethod new(scheme: StyleScheme) Widget#
Creates a new
StyleSchemePreviewto preview the style scheme provided inscheme.Added in version 5.4.
- Parameters:
scheme – a
StyleScheme
Methods#
- class StyleSchemePreview
- get_scheme() StyleScheme#
Gets the
StyleSchemepreviewed by the widget.Added in version 5.4.
Properties#
- class StyleSchemePreview
- props.scheme: StyleScheme#
The type of the None singleton.