(Auto)Timeout option for Tk::DialogBox
by KrauseM other posts by this author
May 9 2007 4:05AM messages near this date
Re: Value Display add-on for Tk::ProgressBar.pm
|
(Auto)Timeout option for Tk::DialogBox
SOURCE Hi,
i'd like to propose/submit a patch for Dialogbox.pm
Reason:
a) If� using the DialogBox for low-prio infos in an application where there are a lot of d
ifferent parallel open windows,
user sometimes shuffled the normal DBox somewhere in the background and since they did not c
lose the box correctly the app seems to hang
b) If the App shall show some transient information (which is only a short time relevant) an
d a Dialogbox shall be shown to draw users interest
Function:
The attached patch for the DialogBox will make it either wait for the user to press any of t
he available buttons as before or after reaching an optional timeout-time the box will silen
tly withdraw by simulating a pressed default button.
Please feel free to apply this patch into the current Tk svn repository or let me have some
feedback.
Regards,
Michael Krause.
Thread:
KrauseM
KrauseM
Slaven Rezic
|