Gtk.CheckButton.new_with_mnemonic

function new_with_mnemonic(label:String):Gtk.Widget {
    // Gjs wrapper for gtk_check_button_new_with_mnemonic()
}

Creates a new Gtk.CheckButton containing a label. The label will be created using Gtk.new_with_mnemonic, so underscores in label indicate the mnemonic for the check button.

label

The text of the button, with an underscore in front of the mnemonic character

Returns

a new Gtk.CheckButton