comparison man/lispref/menus.texi @ 1738:f43f9ca6c7d9

[xemacs-hg @ 2003-10-10 12:39:27 by stephent] @var -> @code <87ad89mfs3.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 10 Oct 2003 12:39:45 +0000
parents 576fb035e263
children 6b027725e340
comparison
equal deleted inserted replaced
1737:68ed93de81b7 1738:f43f9ca6c7d9
675 675
676 @code{menu-force} is used to indicate that the menu accelerator key takes 676 @code{menu-force} is used to indicate that the menu accelerator key takes
677 precedence over bindings in the current keymap(s). @code{menu-fallback} means 677 precedence over bindings in the current keymap(s). @code{menu-fallback} means
678 that bindings in the current keymap take precedence over menu accelerator keys. 678 that bindings in the current keymap take precedence over menu accelerator keys.
679 Thus a top level menu with an accelerator of "T" would be activated on a 679 Thus a top level menu with an accelerator of "T" would be activated on a
680 keypress of Meta-t if @var{menu-accelerator-enabled} is @code{menu-force}. 680 keypress of Meta-t if @code{menu-accelerator-enabled} is @code{menu-force}.
681 However, if @var{menu-accelerator-enabled} is @code{menu-fallback}, then 681 However, if @code{menu-accelerator-enabled} is @code{menu-fallback}, then
682 Meta-t will not activate the menubar and will instead run the function 682 Meta-t will not activate the menubar and will instead run the function
683 transpose-words, to which it is normally bound. 683 transpose-words, to which it is normally bound.
684 684
685 The default value is @code{nil}. 685 The default value is @code{nil}.
686 686
687 See also @var{menu-accelerator-modifiers} and @var{menu-accelerator-prefix}. 687 See also @code{menu-accelerator-modifiers} and @code{menu-accelerator-prefix}.
688 @end defvar 688 @end defvar
689 689
690 @defvar menu-accelerator-map 690 @defvar menu-accelerator-map
691 Keymap consulted to determine the commands to run in response to keypresses 691 Keymap consulted to determine the commands to run in response to keypresses
692 occurring while the menubar is active. @xref{Keyboard Menu Traversal}. 692 occurring while the menubar is active. @xref{Keyboard Menu Traversal}.
696 A list of modifier keys which must be pressed in addition to a valid menu 696 A list of modifier keys which must be pressed in addition to a valid menu
697 accelerator in order for the top level menu to be activated in response to 697 accelerator in order for the top level menu to be activated in response to
698 a keystroke. The default value of @code{(meta)} mirrors the usage of the alt key 698 a keystroke. The default value of @code{(meta)} mirrors the usage of the alt key
699 as a menu accelerator in popular PC operating systems. 699 as a menu accelerator in popular PC operating systems.
700 700
701 The modifier keys in @var{menu-accelerator-modifiers} must match exactly the 701 The modifier keys in @code{menu-accelerator-modifiers} must match exactly the
702 modifiers present in the keypress. The only exception is that the shift 702 modifiers present in the keypress. The only exception is that the shift
703 modifier is accepted in conjunction with alphabetic keys even if it is not 703 modifier is accepted in conjunction with alphabetic keys even if it is not a
704 a menu accelerator modifier. 704 menu accelerator modifier.
705 705
706 See also @var{menu-accelerator-enabled} and @var{menu-accelerator-prefix}. 706 See also @code{menu-accelerator-enabled} and @code{menu-accelerator-prefix}.
707 @end defvar 707 @end defvar
708 708
709 @defvar menu-accelerator-prefix 709 @defvar menu-accelerator-prefix
710 Prefix key(s) that must be typed before menu accelerators will be activated. 710 Prefix key(s) that must be typed before menu accelerators will be activated.
711 Must be a valid key descriptor. 711 Must be a valid key descriptor.