Gtk.ToggleButton.prototype.get_active
function get_active():Boolean { // Gjs wrapper for gtk_toggle_button_get_active() }
Queries a Gtk.ToggleButton and returns its current state. Returns true if the toggle button is pressed in and false if it is raised.
- Returns
a #gboolean value.