Gtk.ThemingEngine.prototype.has_region

function has_region(style_region:String):Boolean {
    // Gjs wrapper for gtk_theming_engine_has_region()
}

Returns true if the currently rendered contents have the region defined. If @flags_return is not null, it is set to the flags affecting the region.

Since 3.0

style_region

a region name

Returns

true if region is defined