Gtk.WidgetPath.prototype.iter_add_region

function iter_add_region(pos:Number, name:String, flags:Gtk.RegionFlags):void {
    // Gjs wrapper for gtk_widget_path_iter_add_region()
}

Adds the region name to the widget at position pos in the hierarchy defined in path. See Gtk.StyleContext.prototype.add_region.

<note><para>Region names must only contain lowercase letters and '-', starting always with a lowercase letter.</para></note>

Since 3.0

pos

position to modify, -1 for the path head

name

region name

flags

flags affecting the region