Changeset 464 for trunk/gui/scripts/valueresult.tcl
- Timestamp:
- Jun 6, 2006, 10:33:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/valueresult.tcl
r195 r464 28 28 public method delete {args} 29 29 public method scale {args} 30 public method download {option }30 public method download {option args} 31 31 32 32 set _dataobj "" ;# data object currently being displayed … … 73 73 -linestyle "" 74 74 -raise "" 75 -description "" 75 76 } 76 77 foreach {opt val} $settings { … … 148 149 # ---------------------------------------------------------------------- 149 150 # USAGE: download coming 151 # USAGE: download controls <downloadCommand> 150 152 # USAGE: download now 151 153 # … … 155 157 # "string" is the data itself. 156 158 # ---------------------------------------------------------------------- 157 itcl::body Rappture::ValueResult::download {option } {159 itcl::body Rappture::ValueResult::download {option args} { 158 160 switch $option { 159 161 coming { 160 162 # nothing to do 163 } 164 controls { 165 # no controls for this download yet 166 return "" 161 167 } 162 168 now { … … 166 172 } 167 173 default { 168 error "bad option \"$option\": should be coming, now"174 error "bad option \"$option\": should be coming, controls, now" 169 175 } 170 176 }
Note: See TracChangeset
for help on using the changeset viewer.