unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* menu-definition for x-popup-menu
@ 2003-09-26 13:56 Klaus Berndl
  0 siblings, 0 replies; only message in thread
From: Klaus Berndl @ 2003-09-26 13:56 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-26 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-26 13:56 menu-definition for x-popup-menu Klaus Berndl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).