Gtk.ToggleButton.new_with_label
function new_with_label(label:String):Gtk.Widget {
// Gjs wrapper for gtk_toggle_button_new_with_label()
}Creates a new toggle button with a text label.
- label
a string containing the message to be placed in the toggle button.
- Returns
a new toggle button.