Gtk.CheckMenuItem.prototype.set_active

function set_active(is_active:Boolean):void {
    // Gjs wrapper for gtk_check_menu_item_set_active()
}

Sets the active state of the menu item's check box.

is_active

boolean value indicating whether the check box is active.