From: Masatsugu Nagata (nagata@kurims.kyoto-u.ac.jp)
Date: 12 Mar 01, 15:02 EST
From: Masatsugu Nagata <nagata@kurims.kyoto-u.ac.jp>
Subject: Feature-Request: chooseWindowStatus
Vince wrote:
> > proc chooseWindowStatus {} { chooseAWindow }
> >
> > Aaargh!
[snip]
> You haven't looked very carefully at chooseAWindow. Its behaviour depends
> on the value of the 'use status bar' preference.
>
Okay, I really don't understand how the 'use status bar' preference
has anything to do with the choice of procs, but anyway, after I set
useStatusBar to ON, it started to use StatusWin. (Is it documents ANYwhere?)
But the proc is broken! Whatever I do, it either says "Aborted:" on the
StatusWin, or says nothing and aborts silently. The actual window-switching
never happens.
Especially, if I press command-; to call 'ChooseAWindow' (at which time
the StatusWin says "Window: (win.tcl):"), and if I then immediately
press the return key, then, it should bring the default choice
(that is, the "win.tcl" window), but actually it only says "Aborted:"
Your definition of ChooseAWindow/prompt::fromChoices is broken.
(On the other hand, the 'ChooseWindowStatus' proc that I've posted
here last week, works!)
Please fix your prompt::fromChoices proc, please!
Mark
--
Mark Nagata
mailto:nagata@kurims.kyoto-u.ac.jp
_______________________________________________
AlphaTcl-developers mailing list
AlphaTcl-developers@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/alphatcl-developers