StyleContext.hasRegion

Returns TRUE if context has the region defined. If flags_return is not NULL, it is set to the flags affecting the region.

class StyleContext
int
hasRegion

Parameters

regionName string

a region name

flagsReturn GtkRegionFlags*

return location for region flags. out[allow-none]

Return Value

Type: int

TRUE if region is defined Since 3.0

Meta