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
GType _getGType() static nothrow
GType _gType() @property nothrow
StyleSchemePreview self() nothrowReturns `this`, for use in `with` statements.
StyleSchemePreviewGidBuilder builder() static nothrowGet builder for [gtksource.style_scheme_preview.StyleSchemePreview] Returns: New builder object
bool selected() @property nothrow
void selected(bool propval) @property nothrow
gtksource.style_scheme.StyleScheme getScheme() nothrowGets the #GtkSourceStyleScheme previewed by the widget. Returns: a #GtkSourceStyleScheme
bool getSelected() nothrow
void setSelected(bool selected) nothrow
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) nothrowConnect to `Activate` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this(gtksource.style_scheme.StyleScheme scheme)Creates a new #GtkSourceStyleSchemePreview to preview the style scheme provided in scheme.