Gtk.MenuShell.prototype.cancel

function cancel():void {
    // Gjs wrapper for gtk_menu_shell_cancel()
}

Cancels the selection within the menu shell.

Since 2.4