- Timestamp:
- Jun 8, 2005, 9:40:18 PM (19 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/cloud.tcl
r11 r14 114 114 # make sure we have x,y,z 115 115 while {[llength $line] < 3} { 116 append line "0"116 lappend line "0" 117 117 } 118 118 -
trunk/gui/scripts/field.tcl
r13 r14 270 270 } 271 271 } 272 273 # to be compatible with curve objects 274 set hints(xlabel) "Position" 272 275 273 276 if {[info exists hints(group)] && [info exists hints(label)]} { -
trunk/gui/scripts/loader.tcl
r13 r14 86 86 foreach ftail $flist { 87 87 set fpath [file join $fdir examples $ftail] 88 foreach fname [ glob -nocomplain $fpath] {88 foreach fname [lsort [glob -nocomplain $fpath]] { 89 89 if {[file exists $fname]} { 90 90 if {[catch {set obj [Rappture::library $fname]} result]} { -
trunk/gui/scripts/resultviewer.tcl
r13 r14 209 209 } 210 210 } 211 ::Rappture::Mesh { 212 switch -- [$dataobj dimensions] { 213 2 { 214 set mode "mesh" 215 if {![info exists _mode2widget($mode)]} { 216 set w $itk_interior.mesh 217 Rappture::MeshResult $w 218 set _mode2widget($mode) $w 219 } 220 } 221 default { 222 error "can't handle [$dataobj dimensions]D field" 223 } 224 } 225 } 211 226 ::Rappture::Table { 212 227 set cols [Rappture::EnergyLevels::columns $dataobj] … … 293 308 return [Rappture::Field ::#auto $xmlobj $path] 294 309 } 310 mesh { 311 return [Rappture::Mesh ::#auto $xmlobj $path] 312 } 295 313 table { 296 314 return [Rappture::Table ::#auto $xmlobj $path] -
trunk/gui/scripts/tooltip.tcl
r11 r14 351 351 Rappture::Tooltip .rappturetooltip 352 352 353 # any click on any widget takes down the tooltip 354 bind all <Leave> [list ::Rappture::Tooltip::tooltip cancel] 355 bind all <ButtonPress> [list ::Rappture::Tooltip::tooltip cancel] 356 353 357 # create a tooltip widget to show error cues 354 358 Rappture::Tooltip .rappturetoolcue \ -
trunk/gui/scripts/xyresult.tcl
r13 r14 108 108 $itk_component(plot) element bind all <Leave> \ 109 109 [itcl::code $this _hilite off %x %y] 110 111 bind $itk_component(plot) <Leave> \ 112 [list Rappture::Tooltip::tooltip cancel] 110 113 111 114 Blt_ZoomStack $itk_component(plot)
Note: See TracChangeset
for help on using the changeset viewer.