Gtk.StyleContext.prototype.has_region

function has_region(region_name:String):Boolean {
    // Gjs wrapper for gtk_style_context_has_region()
}

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

Since 3.0

region_name

a region name

Returns

true if region is defined