ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-tk
perl-tk
(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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved