- Timestamp:
- Jul 20, 2010, 2:32:49 PM (14 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/molvisviewer.tcl
r1832 r1836 945 945 if { $flush } { 946 946 SendCmd "bmp"; # Flush the results. 947 set _waitForImage 1948 947 } 949 948 set _buffering 0; # Turn off buffering. … … 957 956 blt::busy release $itk_component(hull) 958 957 959 if { $_waitForImage } {960 tkwait variable [itcl::scope _waitForImage]961 }962 958 debug "exiting rebuild" 963 959 } … … 1417 1413 -description "" 1418 1414 -param "" 1415 -tkwait no 1419 1416 } 1420 1417 … … 1454 1451 } 1455 1452 } 1456 # In a sequence there will be multiple calls to the "add" method. Run 1457 # "update" here to let the fileevent handler catch up with images, 1458 # regardless of the speed setting in the sequence. 1459 update 1453 if { $params(-tkwait) } { 1454 # In a sequence there will be multiple calls to the "add" method. Run 1455 # "tkwait" here to let the fileevent handler catch up with images, 1456 # regardless of the speed setting in the sequence. 1457 set _waitForImage 1 1458 tkwait variable [itcl::scope _waitForImage] 1459 } 1460 1460 } 1461 1461 -
trunk/gui/scripts/sequenceresult.tcl
r1750 r1836 567 567 $itk_component(eleLabel) configure -text "[$_topmost label $_pos]" 568 568 foreach dataobj [$_topmost value $_pos] { 569 set settings "-color autoreset -width 2 "570 if { 569 set settings "-color autoreset -width 2 -tkwait yes" 570 if {[catch {$dataobj hints style} style] == 0} { 571 571 eval lappend settings $style 572 572 }
Note: See TracChangeset
for help on using the changeset viewer.