Changeset 2235 for trunk/gui/scripts


Ignore:
Timestamp:
Apr 29, 2011, 8:30:30 AM (14 years ago)
Author:
gah
Message:
 
Location:
trunk/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/visviewer.tcl

    r2194 r2235  
    540540#
    541541itcl::body Rappture::VisViewer::ReceiveEcho {channel {data ""}} {
    542     #puts stderr "<<line $data"
     542    puts stderr "<<line $data"
    543543    if {[string length $itk_option(-receivecommand)] > 0} {
    544544        uplevel #0 $itk_option(-receivecommand) [list $channel $data]
  • trunk/gui/scripts/vtkviewer2.tcl

    r2234 r2235  
    347347        set _height 500
    348348    }
     349    puts stderr "screen size $_width $_height"
    349350    SendCmd "screen size $_width $_height"
    350351    set _resizePending 0
     
    352353
    353354itcl::body Rappture::VtkViewer2::EventuallyResize { w h } {
     355    puts stderr "EventuallyResize $w $h"
    354356    set _width $w
    355357    set _height $h
    356358    $_arcball resize $w $h
    357359    if { !$_resizePending } {
    358         $_dispatcher event -after 100 !resize
     360        $_dispatcher event -after 10 !resize
    359361        set _resizePending 1
    360362    }
     
    10981100    }
    10991101}
    1100 
    11011102
    11021103#
Note: See TracChangeset for help on using the changeset viewer.