gtksource.space_drawer

Module for [SpaceDrawer] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SpaceDrawer self() nothrowReturns `this`, for use in `with` statements.
SpaceDrawerGidBuilder builder() static nothrowGet builder for [gtksource.space_drawer.SpaceDrawer] Returns: New builder object
bool enableMatrix() @property nothrowGet `enableMatrix` property. Returns: Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
void enableMatrix(bool propval) @property nothrowSet `enableMatrix` property. Params: propval = Whether the #GtkSourceSpaceDrawer:matrix property is enabled.
glib.variant.Variant matrix() @property nothrowGet `matrix` property. Returns: The :matrix property is a #GVariant property to specify where and what kind of white spaces to draw.
void matrix(glib.variant.Variant propval) @property nothrowSet `matrix` property. Params: propval = The :matrix property is a #GVariant property to specify where and what kind of white spaces to draw.
void bindMatrixSetting(gio.settings.Settings settings, string key, gio.types.SettingsBindFlags flags) nothrowBinds the #GtkSourceSpaceDrawer:matrix property to a #GSettings key.
bool getEnableMatrix() nothrow
glib.variant.Variant getMatrix() nothrowGets the value of the #GtkSourceSpaceDrawer:matrix property, as a #GVariant. An empty array can be returned in case the matrix is a zero matrix.
gtksource.types.SpaceTypeFlags getTypesForLocations(gtksource.types.SpaceLocationFlags locations) nothrowIf only one location is specified, this function returns what kind of white spaces are drawn at that location. The value is retrieved from the #GtkSourceSpaceDrawer:matrix property.
void setEnableMatrix(bool enableMatrix) nothrowSets whether the #GtkSourceSpaceDrawer:matrix property is enabled.
void setMatrix(glib.variant.Variant matrix = null) nothrowSets a new value to the #GtkSourceSpaceDrawer:matrix property, as a #GVariant. If matrix is null, then an empty array is set.
void setTypesForLocations(gtksource.types.SpaceLocationFlags locations, gtksource.types.SpaceTypeFlags types) nothrowModifies the #GtkSourceSpaceDrawer:matrix property at the specified locations.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkSourceSpaceDrawer object. Useful for storing space drawing settings independently of a #GtkSourceView. Returns: a new #GtkSourceSpaceDrawer.

Fluent builder implementation template for gtksource.space_drawer.SpaceDrawer

Methods
T enableMatrix(bool propval) nothrowSet `enableMatrix` property. Params: propval = Whether the #GtkSourceSpaceDrawer:matrix property is enabled. Returns: Builder instance for fluent chaining
T matrix(glib.variant.Variant propval) nothrowSet `matrix` property. Params: propval = The :matrix property is a #GVariant property to specify where and what kind of white spaces to draw.
Methods
SpaceDrawer build() nothrowCreate object from builder. Returns: New object