gtksource.style_scheme_preview
Module for StyleSchemePreview class
Types 3
A preview widget for gtksource.style_scheme.StyleScheme.
This widget provides a convenient gtk.widget.Widget to preview a gtksource.style_scheme.StyleScheme.
The gtksource.style_scheme_preview.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.style_scheme_preview.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 implementation template for gtksource.style_scheme_preview.StyleSchemePreview
Fluent builder for gtksource.style_scheme_preview.StyleSchemePreview
Methods
StyleSchemePreview build()Create object from builder. Returns: New object