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
bool
hasRegion

Parameters

regionName string

a region name

flagsReturn GtkRegionFlags

return location for region flags

Return Value

Type: bool

%TRUE if region is defined

Meta