diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-02-24 08:07:16 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-02-24 08:07:16 +0000 |
commit | 78589e07a844d0fb7081494c30e53213215c96ab (patch) | |
tree | 59ff04c918d470f020b7a360d38bd5ec74237041 /lisp/emacs-lisp/debug.el | |
parent | 1db4cfb25b6fce489973a0a50d1d4c8de37c09d2 (diff) | |
download | emacs-78589e07a844d0fb7081494c30e53213215c96ab.tar.gz emacs-78589e07a844d0fb7081494c30e53213215c96ab.tar.bz2 emacs-78589e07a844d0fb7081494c30e53213215c96ab.zip |
(Fx_popup_menu): Allow t as position, meaning use mouse pos.
Allow nil as position, meaning just precompute equiv-key data.
Mouse events have coords in pixel units.
(menu_item_equiv_key): Cached equiv-key data is a sublist.
Most of file rewritten.
(menu_items, menu_items_*): New variables.
(MENU_ITEMS_*): New macros.
(init_menu_items, discard_menu_items, push_menu_pane, push_menu_item)
(finish_menu_items): New functions.
(menu_item_enabled_p): New function.
(keymap_panes, single_keymap_panes): Major rewrite; most args changed.
(list_of_panes, list_of_items): Major rewrite; most args changed.
(Fx_popup_menu): Major rewrite. Now independent of display mechanism.
No more conditionals here.
(set_menu_items, free_menu_items): Functions deleted.
(xmenu_show): Both versions rewritten to work from menu_items
and to do all the conditionalized things that were in Fx_popup_menu.
(unread_menu_bar_button, other_menu_bar_item_p): New functions.
(check_mouse_other_menu_bar): New function.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions