Gtk.ToggleToolButton.prototype.set_active

function set_active(is_active:Boolean):void {
    // Gjs wrapper for gtk_toggle_tool_button_set_active()
}

Sets the status of the toggle tool button. Set to true if you want the GtkToggleButton to be 'pressed in', and false to raise it. This action causes the toggled signal to be emitted.

Since 2.4

is_active

whether button should be active