SpaceDrawer.getMatrix

Gets the value of the propertySpaceDrawer:matrix property, as a [glib.variant.Variant].

An empty array can be returned in case the matrix is a zero matrix.

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

Returns

the #GtkSourceSpaceDrawer:matrix value as a new floating #GVariant

instance.