gtksource.space_drawer
Module for [SpaceDrawer] class
Types 3
Methods
SpaceDrawerGidBuilder builder() static nothrowGet builder for [gtksource.space_drawer.SpaceDrawer] Returns: New builder objectbool 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() nothrowglib.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.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 chainingT 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.Fluent builder for gtksource.space_drawer.SpaceDrawer
Methods