Gtk.CheckMenuItem.new_with_label

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

Creates a new Gtk.CheckMenuItem with a label.

label

the string to use for the label.

Returns

a new Gtk.CheckMenuItem.