Changeset 745
- Timestamp:
- May 18, 2007, 11:55:33 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/analyzer.tcl
r733 r745 51 51 52 52 public method simulate {args} 53 public method reset { }53 public method reset {{when -eventually}} 54 54 public method load {file} 55 55 public method clear {} … … 406 406 407 407 # ---------------------------------------------------------------------- 408 # USAGE: reset 408 # USAGE: reset ?-eventually|-now? 409 409 # 410 410 # Used to reset the analyzer whenever the input to a simulation has … … 413 413 # to "auto", the simulation is invoked immediately. 414 414 # ---------------------------------------------------------------------- 415 itcl::body Rappture::Analyzer::reset {} { 415 itcl::body Rappture::Analyzer::reset {{when -eventually}} { 416 if {$when == "-eventually"} { 417 after cancel [list catch [itcl::code $this reset -now]] 418 after idle [list catch [itcl::code $this reset -now]] 419 return 420 } 421 416 422 # check to see if simulation is really needed 417 423 $_tool sync
Note: See TracChangeset
for help on using the changeset viewer.