Changeset 126 for trunk/gui/scripts
- Timestamp:
- Nov 4, 2005, 11:08:21 PM (19 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/controls.tcl
r120 r126 144 144 Rappture::TextEntry $w $_owner $path 145 145 bind $w <<Value>> [itcl::code $this _controlChanged $path] 146 } 147 image { 148 Rappture::ImageEntry $w $_owner $path 146 149 } 147 150 control { -
trunk/gui/scripts/resultviewer.tcl
r115 r126 14 14 # ====================================================================== 15 15 package require Itk 16 package require Img 16 17 17 18 itcl::class Rappture::ResultViewer { … … 282 283 } 283 284 } 285 ::Rappture::Image { 286 set mode "image" 287 if {![info exists _mode2widget($mode)]} { 288 set w $itk_interior.image 289 Rappture::ImageResult $w 290 set _mode2widget($mode) $w 291 } 292 } 284 293 default { 285 294 error "don't know how to plot <$type> data" … … 363 372 table { 364 373 return [Rappture::Table ::#auto $xmlobj $path] 374 } 375 image { 376 return [Rappture::Image ::#auto $xmlobj $path] 365 377 } 366 378 string - log {
Note: See TracChangeset
for help on using the changeset viewer.