SpaceDrawer.getTypesForLocations

If only one location is specified, this function returns what kind of white spaces are drawn at that location. The value is retrieved from the #GtkSourceSpaceDrawer:matrix property.

If several locations are specified, this function returns the logical AND for those locations. Which means that if a certain kind of white space is present in the return value, then that kind of white space is drawn at all the specified @locations.

class SpaceDrawer
GtkSourceSpaceTypeFlags
getTypesForLocations
(
GtkSourceSpaceLocationFlags locations
)

Parameters

locations GtkSourceSpaceLocationFlags

one or several #GtkSourceSpaceLocationFlags.

Return Value

Type: GtkSourceSpaceTypeFlags

a combination of #GtkSourceSpaceTypeFlags.

Meta

Since

3.24