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

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

Re: Example using x-popup-menu needed


From: Barman Brakjoller
Subject: Re: Example using x-popup-menu needed
Date: 17 Oct 2003 06:41:58 -0700

> 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 via email to

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