Changeset 50 for trunk/gui/scripts/textresult.tcl
- Timestamp:
- Aug 28, 2005, 9:09:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/textresult.tcl
r46 r50 29 29 public method delete {args} 30 30 public method scale {args} 31 public method download {} 31 32 32 33 public method select {option args} … … 241 242 242 243 # ---------------------------------------------------------------------- 244 # USAGE: download 245 # 246 # Clients use this method to create a downloadable representation 247 # of the plot. Returns a list of the form {ext string}, where 248 # "ext" is the file extension (indicating the type of data) and 249 # "string" is the data itself. 250 # ---------------------------------------------------------------------- 251 itcl::body Rappture::TextResult::download {} { 252 return [list .txt [$itk_component(text) get 1.0 end]] 253 } 254 255 # ---------------------------------------------------------------------- 243 256 # USAGE: select all 244 257 #
Note: See TracChangeset
for help on using the changeset viewer.