Open abstract instantiable class
The class of command tables.
<object>
name:<object>. Required.
inherit-from:limited(<sequence>, of: <command-table>). Required.
resource-id:false-or(<object>). Default value: #f.
duim-frames
duim-frames
The class of command tables. The command table for an application gives a complete specification of the commands available to that application, through its menus, tool bars, mnemonics, and accelerators.
The name: init-keyword is a symbol that names the current command table.
The inherit-from: init-keyword is a sequence of command tables whose behavior the current command table should inherit. All command tables inherit the behavior of the command table specified by *global-command-table*, and can also inherit the behavior specified by *user-command-table*.
You do not normally need to specify a unique resource-id: yourself. As with most other DUIM classes, the name: init-keyword serves as a sufficient unique identifier.
add-command add-command-table-menu-item command-table-accelerators command-table-commands command-table-menu command-table-name frame-command-table-setter make make-menu-from-command-table-menu make-menus-from-command-table remove-command remove-command-table remove-command-table-menu-item
define command-table *clipboard-command-table*
=(*global-command-table*)
menu-item "Cut" = cut-selection,
documentation: $cut-doc;
menu-item "Copy" = copy-selection,
documentation: $copy-doc;
menu-item "Paste" = paste-from-clipboard,
documentation: $paste-doc;
menu-item "Delete" = delete-selection,
documentation: $delete-doc;
end command-table *clipboard-command-table*;