Gtk.ToggleButton.prototype.get_mode

function get_mode():Boolean {
    // Gjs wrapper for gtk_toggle_button_get_mode()
}

Retrieves whether the button is displayed as a separate indicator and label. See Gtk.set_mode.

Returns

true if the togglebutton is drawn as a separate indicator and label.