- Timestamp:
- Oct 29, 2009 11:41:56 AM (14 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/xyprint.tcl
r1602 r1603 42 42 43 43 public method print { graph toolName plotName } 44 public method reset {} 44 45 45 46 private method CopyOptions { cmd orig clone } … … 70 71 private method RestoreSettings { toolName plotName } 71 72 private method SaveSettings { toolName plotName } 73 private method DestroySettings {} 72 74 private method ResetSettings { } 73 75 private method GetOutput {} 74 76 private method Done { state } 75 private method DestroySettings {}76 77 private method restore { toolName plotName data } 77 78 private common _settings … … 153 154 set _clone "" 154 155 set _graph "" 156 } 157 158 itcl::body Rappture::XyPrint::reset {} { 159 Done 0 155 160 } 156 161 … … 272 277 itcl::body Rappture::XyPrint::CloneGraph { orig } { 273 278 set top $itk_interior 279 if { $_clone != "" } { 280 puts stderr "clone is $_clone" 281 } 274 282 set clone [blt::graph $top.graph] 275 283 CopyOptions "configure" $orig $clone -
trunk/gui/scripts/xyresult.tcl
r1598 r1603 487 487 if {![winfo exists .xyresultdownload]} { 488 488 # if we haven't created the popup yet, do it now 489 Rappture::Balloon $popup -title "[Rappture::filexfer::label downloadWord] as..." 489 Rappture::Balloon $popup \ 490 -title "[Rappture::filexfer::label downloadWord] as..." 490 491 set inner [$popup component inner] 491 492 label $inner.summary -text "" -anchor w … … 567 568 Rappture::XyPrint $inner.print 568 569 blt::table $inner 0,0 $inner.print -fill both 570 $popup configure -deactivatecommand \ 571 [list $inner.print reset] 569 572 } 570 573 update
Note: See TracChangeset
for help on using the changeset viewer.