From: Klaus Berndl <klaus.berndl@sdm.de>
Subject: menu-definition for x-popup-menu
Date: 26 Sep 2003 15:56:47 +0200 [thread overview]
Message-ID: <uy8wb1wm8.fsf@sdm.de> (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
reply other threads:[~2003-09-26 13:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uy8wb1wm8.fsf@sdm.de \
--to=klaus.berndl@sdm.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).