SpaceDrawer.getMatrix

glib.variant.Variant getMatrix() nothrow

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.

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

Returns

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

instance.