Changeset 1590 for trunk


Ignore:
Timestamp:
Oct 25, 2009 9:58:12 PM (14 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

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

    r1589 r1590  
    147147}
    148148
     149itcl::body Rappture::XyResult::DestroyData {} {
     150    destroy $_clone
     151    array unset _settings $this-*
     152    set _clone ""
     153    set _graph ""
     154}
     155
    149156itcl::body Rappture::XyPrint::Done { state } {
    150157    set _wait($this) $state
     
    152159
    153160itcl::body Rappture::XyPrint::print { graph } {
     161    set _graph $graph
    154162    set _clone [CloneGraph $graph]
    155     set _graph $graph
    156163    InitClone
    157164    InitializeSettings
     
    922929
    923930itcl::body Rappture::XyPrint::RestoreSettings { file } {
    924     # Get the settings assoicated with the tool and plot title
     931    # Get the settings associated with the tool and plot title
     932n}
     933
     934itcl::body Rappture::XyPrint::ResetSettings { file } {
     935    # Revert the widget back to the original graph's settings
     936    destroy $_clone
     937    set _clone [CloneGraph $graph]
     938    InitClone
     939    InitializeSettings
    925940}
    926941
Note: See TracChangeset for help on using the changeset viewer.