get_types_for_locations


Description:

public SpaceTypeFlags get_types_for_locations (SpaceLocationFlags locations)

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 [property@SpaceDrawer: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.

Parameters:

this

a SpaceDrawer.

locations

one or several SpaceLocationFlags.

Returns:

a combination of SpaceTypeFlags.




2022 vala-language.org