Gtk.WidgetPath.prototype.iter_set_object_type

function iter_set_object_type(pos:Number, type:GType):void {
    // Gjs wrapper for gtk_widget_path_iter_set_object_type()
}

Sets the object type for a given position in the widget hierarchy defined by path.

Since 3.0

pos

position to modify, -1 for the path head

type

object type to set