Gtk.ToggleButton.new
function new():Gtk.Widget { // Gjs wrapper for gtk_toggle_button_new() }
Creates a new toggle button. A widget should be packed into the button, as in Gtk.Button.new.
- Returns
a new toggle button.
function new():Gtk.Widget { // Gjs wrapper for gtk_toggle_button_new() }
Creates a new toggle button. A widget should be packed into the button, as in Gtk.Button.new.
a new toggle button.