unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to pop-up a dialog from a pop-up menu?
@ 2007-01-19 13:24 wdtsxx-emacs
  0 siblings, 0 replies; only message in thread
From: wdtsxx-emacs @ 2007-01-19 13:24 UTC (permalink / raw)


I run Emacs 22.0.50.2 on Windows2000.
This is my elisp.

(easy-menu-add-item nil '("edit")
   ["pop-up a dialog"
    (lambda()
       (interactive)
       (x-popup-dialog t '("dialog" ("item" . t))))
    1])

(global-set-key [mouse-3] 
  '(lambda()
     (interactive)
     (popup-menu menu-bar-edit-menu)))

When I click the mouse-3 and choose "pop-up a dialog"
from the pop-up menu, the "dialog" dialog doesn't 
show up.

How to fix it?





		
___________________________________________________________ 
抢注雅虎免费邮箱-3.5G容量,20M附件! 
http://cn.mail.yahoo.com

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

only message in thread, other threads:[~2007-01-19 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-19 13:24 How to pop-up a dialog from a pop-up menu? wdtsxx-emacs

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).