Changeset 1135 for trunk/gui/scripts/sequenceresult.tcl
- Timestamp:
- Sep 2, 2008, 1:32:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/sequenceresult.tcl
r997 r1135 212 212 } 213 213 lappend _dlist $dataobj 214 215 214 $_dispatcher event -idle !rebuild 216 215 } … … 289 288 # ---------------------------------------------------------------------- 290 289 itcl::body Rappture::SequenceResult::download {option args} { 290 if { ![winfo exists $itk_component(area).viewer] } { 291 return ""; # No data, no viewer, no download. 292 } 291 293 switch $option { 292 294 coming { 293 295 return [$itk_component(area).viewer download coming] 294 296 } 295 297 controls { … … 336 338 # ---------------------------------------------------------------------- 337 339 itcl::body Rappture::SequenceResult::play {} { 340 if { [llength $_indices] == 0 } { 341 return; # No frames (i.e. no data). 342 } 338 343 # cancel any existing animation 339 344 pause … … 477 482 } 478 483 default { 479 error "don't know how to view sequences of $type" 484 puts stderr "don't know how to view sequences of type \"$type\"" 485 puts stderr "Is the sequence empty?" 486 return 480 487 } 481 488 }
Note: See TracChangeset
for help on using the changeset viewer.