unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: brakjoller@hotmail.com (Barman Brakjoller)
Subject: Re: Example using x-popup-menu needed
Date: 17 Oct 2003 06:41:58 -0700	[thread overview]
Message-ID: <1c58a7c3.0310170541.355468cd@posting.google.com> (raw)
In-Reply-To: %aMjb.86442$gv5.44941@fed1read05

> I need some help with  x-popup-menu.  I've searched through scores of 
> .el files and the Emacs manuals looking for really simple examples --- 
> but no luck.
> 
> Can someone give a very short, simple example of  using this function?

How about this, which is quite hand too:

(defun my-bookmark-menu-jump ()
  (interactive)
  (bookmark-jump (x-popup-menu 
                  (list '(400 200) (selected-window)) 
                  (bookmark-menu-build-paned-menu 
                   "Select bookmark" 
                   (bookmark-all-names)))))

/Mathias

  reply	other threads:[~2003-10-17 13:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-17  5:38 Example using x-popup-menu needed Dave Neubart
2003-10-17 13:41 ` Barman Brakjoller [this message]
2003-10-17 16:11 ` Bruce Ingalls
2003-10-17 16:32   ` Martin Stemplinger
2003-10-17 18:14     ` Bruce Ingalls
2003-10-17 16:50   ` Ian Zimmerman
2003-10-17 18:11     ` Bruce Ingalls
2003-10-17 20:07       ` Stefan Monnier
2003-10-17 20:07   ` Kevin Rodgers
2003-10-17 21:26     ` Kevin Rodgers
2003-10-17 20:14   ` Stefan Monnier
2003-10-18 13:45     ` Martin Stemplinger
2003-12-02 20:50   ` Kai Grossjohann
2003-12-03 18:29     ` Kevin Rodgers

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=1c58a7c3.0310170541.355468cd@posting.google.com \
    --to=brakjoller@hotmail.com \
    /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).