Gtk.WidgetPath.prototype.iter_add_class

function iter_add_class(pos:Number, name:String):void {
    // Gjs wrapper for gtk_widget_path_iter_add_class()
}

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

Since 3.0

pos

position to modify, -1 for the path head

name

a class name