SpaceDrawer.setMatrix

Sets a new value to the #GtkSourceSpaceDrawer:matrix property, as a #GVariant. If matrix is null, then an empty array is set.

If matrix is floating, it is consumed.

The gtksource.space_drawer.SpaceDrawer.setTypesForLocations function may be more convenient to use.

class SpaceDrawer
void
setMatrix

Parameters

matrix glib.variant.Variant

the new matrix value, or null.