SpaceDrawer.setMatrix

void setMatrix(glib.variant.Variant matrix = null)

Sets a new value to the gtksource.space_drawer.SpaceDrawer.matrix property, as a glib.variant.Variant.

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.