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

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

input box?


From: Bruce Ingalls
Subject: input box?
Date: Thu, 20 Feb 2003 16:26:21 GMT
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2) Gecko/20021127

Is there a way to pop up a dialog box, which allows the user to input
a string or number?
something like:
        (popup-input-box "What is your login ID?" :default=(getenv "LOGNAME"))

I'd like solutions for both Emacs & XEmacs.

Also, I tried the following, but I get a blank button in the middle. What is wrong
with my syntax?

(x-popup-dialog t '("Only works on Emacs" ("Yes" . "y") ("No" . "n")))

FWIW, the XEmacs popup code works fine for me.



reply via email to

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