Mercurial > emacs
comparison src/xmenu.c @ 17709:c93b19665c14
(Fx_popup_menu): Do fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 May 1997 21:47:48 +0000 |
parents | 0a75fcee3cb8 |
children | c73494a6bcd3 |
comparison
equal
deleted
inserted
replaced
17708:95f0456681cc | 17709:c93b19665c14 |
---|---|
761 MENU is a specifier for a menu. For the simplest case, MENU is a keymap.\n\ | 761 MENU is a specifier for a menu. For the simplest case, MENU is a keymap.\n\ |
762 The menu items come from key bindings that have a menu string as well as\n\ | 762 The menu items come from key bindings that have a menu string as well as\n\ |
763 a definition; actually, the \"definition\" in such a key binding looks like\n\ | 763 a definition; actually, the \"definition\" in such a key binding looks like\n\ |
764 \(STRING . REAL-DEFINITION). To give the menu a title, put a string into\n\ | 764 \(STRING . REAL-DEFINITION). To give the menu a title, put a string into\n\ |
765 the keymap as a top-level element.\n\n\ | 765 the keymap as a top-level element.\n\n\ |
766 If REAL-DEFINITION is nil, that puts a nonselectable string in the menu.\n\ | |
767 Otherwise, REAL-DEFINITION should be a valid key binding definition.\n\ | |
768 \n\ | |
766 You can also use a list of keymaps as MENU.\n\ | 769 You can also use a list of keymaps as MENU.\n\ |
767 Then each keymap makes a separate pane.\n\ | 770 Then each keymap makes a separate pane.\n\ |
768 When MENU is a keymap or a list of keymaps, the return value\n\ | 771 When MENU is a keymap or a list of keymaps, the return value\n\ |
769 is a list of events.\n\n\ | 772 is a list of events.\n\n\ |
773 \n\ | |
770 Alternatively, you can specify a menu of multiple panes\n\ | 774 Alternatively, you can specify a menu of multiple panes\n\ |
771 with a list of the form (TITLE PANE1 PANE2...),\n\ | 775 with a list of the form (TITLE PANE1 PANE2...),\n\ |
772 where each pane is a list of form (TITLE ITEM1 ITEM2...).\n\ | 776 where each pane is a list of form (TITLE ITEM1 ITEM2...).\n\ |
773 Each ITEM is normally a cons cell (STRING . VALUE);\n\ | 777 Each ITEM is normally a cons cell (STRING . VALUE);\n\ |
774 but a string can appear as an item--that makes a nonselectable line\n\ | 778 but a string can appear as an item--that makes a nonselectable line\n\ |