Feature-Request: chooseWindowStatus

New Message Reply Date view Thread view Subject view Author view

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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST