gtksource.style_scheme_preview
Module for [StyleSchemePreview] class
Types 3
A preview widget for class@StyleScheme.
This widget provides a convenient [gtk.widget.Widget] to preview a class@StyleScheme.
The property@StyleSchemePreview:selected property can be used to manage the selection state of a single preview widget.
Methods
StyleSchemePreview self()Returns `this`, for use in `with` statements.StyleSchemePreviewGidBuilder builder()Get builder for [gtksource.styleschemepreview.StyleSchemePreview] Returns: New builder objectgtksource.style_scheme.StyleScheme scheme() @propertybool selected() @propertyvoid selected(bool propval) @propertygtksource.style_scheme.StyleScheme getScheme()Gets the #GtkSourceStyleScheme previewed by the widget. Returns: a #GtkSourceStyleSchemebool getSelected()void setSelected(bool selected)gulong connectActivate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtksource.style_scheme_preview.StyleSchemePreview)))
&& Parameters!T.length < 2)Connect to `Activate` signal.Constructors
this(gtksource.style_scheme.StyleScheme scheme)Creates a new #GtkSourceStyleSchemePreview to preview the style scheme provided in scheme.classStyleSchemePreviewGidBuilderImpl(T) : gtk.widget.WidgetGidBuilderImpl!T, gtk.actionable.ActionableGidBuilderImpl!T
Fluent builder for [gtksource.style_scheme_preview.StyleSchemePreview]
Methods