capi:popup-confirmer question
hi,
I'm using popup-confirmer like this:
(popup-confirmer
(make-instance 'password-pane)
"You have been inactive for a while, please enter your password:"))
This works fine, except that the behaviour isn't quite as I want it
in my linux and mac versions:
- in the windows version, typing <return> after the password will submit
(e.g. is equivalent to clicking OK)
- in the mac version, typing <return> *twice* will submit
- in the linux version, one has to click the ok button.
I have solved similar problems before by adding a :callback to the input
pane, but that sort of breaks the simplicity of using popup-confirmer.
Any suggestions?
- Ah, and a similar problem:
I have forms with multiple text input panes as well. In the linux version,
navigating with <tab> between the input panes doesn't work out-of-the-
box, I have to supply :completion-functions, like:
:completion-function
(lambda(pane text)
(set-pane-focus (next-input-pane
(top-level-interface pane)
slot search-p))
text)
(where next-input-pane is my own gf).
(I'm using LWL 4.2.7 and OpenMotif 2.1 on debian)
--
(espen)
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________