SpaceDrawer.setMatrix

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.

If matrix is floating, it is consumed.

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

Parameters

matrixthe new matrix value, or null.