Changeset 6 for trunk/gui/scripts/analyzer.tcl
- Timestamp:
- Mar 23, 2005, 8:19:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/analyzer.tcl
r1 r6 258 258 # ---------------------------------------------------------------------- 259 259 itcl::configbody Rappture::Analyzer::tool { 260 if {![Rappture:: Library::valid $itk_option(-tool)]} {260 if {![Rappture::library isvalid $itk_option(-tool)]} { 261 261 error "bad value \"$itk_option(-tool)\": should be Rappture::Library" 262 262 } … … 276 276 itcl::configbody Rappture::Analyzer::device { 277 277 if {$itk_option(-device) != "" 278 && ![Rappture:: Library::valid $itk_option(-device)]} {278 && ![Rappture::library isvalid $itk_option(-device)]} { 279 279 error "bad value \"$itk_option(-device)\": should be Rappture::Library" 280 280 } … … 289 289 # ---------------------------------------------------------------------- 290 290 itcl::configbody Rappture::Analyzer::analysis { 291 if {![Rappture:: Library::valid $itk_option(-analysis)]} {291 if {![Rappture::library isvalid $itk_option(-analysis)]} { 292 292 error "bad value \"$itk_option(-analysis)\": should be Rappture::Library" 293 293 } … … 299 299 300 300 set counter 0 301 foreach item [$itk_option(-analysis) get -children] {301 foreach item [$itk_option(-analysis) children] { 302 302 switch -glob -- $item { 303 303 xyplot* { … … 311 311 312 312 set _widgets($item) [Rappture::Xyplot $page.#auto \ 313 -layout [$itk_option(-analysis) get -object $item]]313 -layout [$itk_option(-analysis) element -flavor object $item]] 314 314 pack $_widgets($item) -expand yes -fill both 315 315 }
Note: See TracChangeset
for help on using the changeset viewer.