Gtk.CheckButton.new_with_label

function new_with_label(label:String):Gtk.Widget {
    // Gjs wrapper for gtk_check_button_new_with_label()
}

Creates a new Gtk.CheckButton with a Gtk.Label to the right of it.

label

the text for the check button.

Returns

a Gtk.Widget.