help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

menu-definition for x-popup-menu


From: Klaus Berndl
Subject: menu-definition for x-popup-menu
Date: 26 Sep 2003 15:56:47 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

I have the following menu-definition for `x-popup-menu'.

(setq menu '((function1 "entry1" (nil) t)
             (nil "---" (nil) t)
             (function2 "entry2" (nil) t)
             (function3 "entry3" (nil) t)))

This works fine with x-popup-menu, i.e. choosing "entry1" returns
'(function1) so i can do (funcall (car ...) ...) to run the chosen
menu-entry.

Now my question:
Can anybody add a simple submenu to the menu above, e.g. directly
after the separator "---" with the submenu-title "submenu-test" and
two simple entries in the form of my examples above?

I can not figuring out how to do this...

Thanks a lot in advance,
Klaus


-- 
Klaus Berndl                    mailto: klaus.berndl@sdm.de
sd&m AG                         http://www.sdm.de
software design & management    
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220


reply via email to

[Prev in Thread] Current Thread [Next in Thread]