| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: comtab
This comtab property determines which command is executed when the user types the keychord of a comtab command, if that keychord is also a global keyboard shortcut or a shortcut in a menu-bar that applies to the same window.
If this property is true, then the comtab's key bindings will take
precedence over menu-bar shortcuts (see event-synonym) and global shortcuts (see
add-global-keyboard-accelerator). If it is nil
, then menu-bar shortcuts and global shortcuts
take precedence over the comtab. The default value is nil
.
override-menu-bars returns the
current value of this property for a specified comtab (command table).
The value may be set either by passing the :override-menu-bars initarg
to make-instance when creating
the comtab, or any time later by calling (setf
override-menu-bars). The default value is nil
.
The IDE editor is a case where the override-menu-bars option has been enabled.
When the IDE editor is selected, the editor's comtab (see *text-edit-comtab*
) and the IDE
menu-bar's keyboard shortcuts are both in effect. The IDE menu-bar
defines many keyboard shortcuts, and so if you wanted to add some
custom editing commands to the IDE editor, then you may find it
difficult to find keychords that are not already used by the editor's
comtab or the IDE menu-bar. But since the override-menu-bars property of *text-edit-comtab*
is t
, it can override shortcuts that are in the IDE
menu-bar. Typing reused keychords in the IDE editor will invoke the
editor's comtab commands, whereas typing the keychords in any other
IDE window will invoke the IDE menu-bar commands. See *text-edit-comtab*
for an
example.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |