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 >> incrtcl-users
incrtcl-users
[Incrtcl-users] Update embedded in Iwidgets -- what to do?
by Bob Binder other posts by this author
Jul 7 2006 5:13AM messages near this date
Re: [Incrtcl-users] pkg classes | Re: [Incrtcl-users] Update embedded in Iwidgets -- what to do?
We've decided to remove all "update" commands from our Tk app, as they routinely hang our ap
p.

Iwidgets has many embedded uses of update, which also lead to update hangs:

"C:\Tcl\lib\iwidgets4.0.2\scripts\shell.itk"(250,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\shell.itk"(343,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\tabset.itk"(1920,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\tabset.itk"(1990,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\buttonbox.itk"(278,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\buttonbox.itk"(470,2):	update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\canvasprintbox.itk"(864,4):			update
"C:\Tcl\lib\iwidgets4.0.2\scripts\combobox.itk"(1142,5):    update
"C:\Tcl\lib\iwidgets4.0.2\scripts\extbutton.itk"(235,3):  update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\extbutton.itk"(388,3):  update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\extbutton.itk"(390,40):  after 50; config -background $old
bg; update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\extbutton.itk"(391,64):  after 50; config -background $itk
_option(-activebackground); update
idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\extfileselectionbox.itk"(244,41):    # When idle, pack the
 childsite and update the lists.
"C:\Tcl\lib\iwidgets4.0.2\scripts\feedback.itk"(177,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\feedback.itk"(187,5):    update
"C:\Tcl\lib\iwidgets4.0.2\scripts\hierarchy.itk"(1018,9):        update
"C:\Tcl\lib\iwidgets4.0.2\scripts\hierarchy.itk"(1065,2):	update
"C:\Tcl\lib\iwidgets4.0.2\scripts\hierarchy.itk"(1174,5):    update
"C:\Tcl\lib\iwidgets4.0.2\scripts\hyperhelp.itk"(380,7):      update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\labeledframe.itk"(359,3):  update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\labeledwidget.itk"(244,5):    update
"C:\Tcl\lib\iwidgets4.0.2\scripts\panedwindow.itk"(679,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledcanvas.itk"(224,2):	update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledframe.itk"(183,2):	update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(143,29):  itk_option define -update upda
te Update 1
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(451,42):itcl::configbody iwidgets::Scrol
ledhtml::update {
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(507,3):  update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(591,5):    update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(728,46):    if {!$_intable && $itk_optio
n(-update)} {update}
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(983,3):  update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledhtml.itk"(985,3):  update idletasks
"C:\Tcl\lib\iwidgets4.0.2\scripts\scrolledwidget.itk"(373,5):    update idletasks


Short of fixing all this, I don't see any alternative to pulling out all our Iwidgets -- a m
ajor pita.

Any suggestions?

Tia 
Bob



 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Incrtcl-users mailing list
Incrtcl-users@[...].net
https://lists.sourceforge.net/lists/listinfo/incrtcl-users
Thread:
Bob Binder
Jeff Hobbs
Wart

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved