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
StyleSchemePreview
to preview the style scheme provided inscheme
.Added in version 5.4.
- Parameters:
scheme – a
StyleScheme
Methods
- class StyleSchemePreview
- get_scheme() StyleScheme
Gets the
StyleScheme
previewed by the widget.Added in version 5.4.
Properties
- class StyleSchemePreview
- props.scheme: StyleScheme