gtksource.space_drawer
Module for [SpaceDrawer] class
Types 3
Methods
SpaceDrawer self()Returns `this`, for use in `with` statements.SpaceDrawerGidBuilder builder()Get builder for [gtksource.space_drawer.SpaceDrawer] Returns: New builder objectbool enableMatrix() @propertyGet `enableMatrix` property. Returns: Whether the #GtkSourceSpaceDrawer:matrix property is enabled.void enableMatrix(bool propval) @propertySet `enableMatrix` property. Params: propval = Whether the #GtkSourceSpaceDrawer:matrix property is enabled.glib.variant.Variant matrix() @propertyGet `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) @propertySet `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)Binds the #GtkSourceSpaceDrawer:matrix property to a #GSettings key.bool getEnableMatrix()glib.variant.Variant getMatrix()Gets 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)If 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)Sets whether the #GtkSourceSpaceDrawer:matrix property is enabled.void setMatrix(glib.variant.Variant matrix = null)Sets 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)Modifies the #GtkSourceSpaceDrawer:matrix property at the specified locations.Methods
T enableMatrix(bool propval)Set `enableMatrix` property. Params: propval = Whether the #GtkSourceSpaceDrawer:matrix property is enabled. Returns: Builder instance for fluent chainingT matrix(glib.variant.Variant propval)Set `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