Gtk.Switch.prototype.set_active
function set_active(is_active:Boolean):void {
// Gjs wrapper for gtk_switch_set_active()
}Changes the state of sw to the desired one.
Since 3.0
- is_active
true if sw should be active, and false otherwise
function set_active(is_active:Boolean):void {
// Gjs wrapper for gtk_switch_set_active()
}Changes the state of sw to the desired one.
Since 3.0
true if sw should be active, and false otherwise