Changeset 465
- Timestamp:
- Jun 8, 2006, 9:31:17 AM (18 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/bugreport.tcl
r464 r465 53 53 raise .bugreport 54 54 55 .bugreport.details.text configure -state normal 56 .bugreport.details.text delete 1.0 end 57 .bugreport.details.text insert end "$err\n-----\n$errorInfo" 58 .bugreport.details.text configure -state disabled 55 59 # should log the error someday too... 56 60 … … 91 95 pack .bugreport.expl -padx 8 -pady 8 92 96 97 bind .bugreport.expl <Control-1><Control-1><Control-3><Control-3> { 98 pack forget .bugreport.expl 99 pack .bugreport.details -after .bugreport.ok \ 100 -expand yes -fill both -padx 8 -pady 8 101 } 102 103 Rappture::Scroller .bugreport.details 104 text .bugreport.details.text -wrap none 105 .bugreport.details contents .bugreport.details.text 106 93 107 # this binding keeps the bugreport window on top 94 108 bind BugReportOnTop <ButtonPress> { -
trunk/gui/scripts/energyLevels.tcl
r413 r465 262 262 -raise 0 263 263 -linestyle solid 264 -description "" 264 265 } 265 266 foreach {opt val} $settings { -
trunk/gui/scripts/nanovisviewer.tcl
r464 r465 808 808 809 809 # sync the state of slicers 810 set vols [_currentVolumeIds] 810 811 foreach axis {x y z} { 811 eval _send cutplane state [_state ${axis}slice] \ 812 $axis [_currentVolumeIds] 813 } 814 eval _send volume data state [_state volume] [_currentVolumeIds] 812 eval _send cutplane state [_state ${axis}slice] $axis $vols 813 set pos [expr {0.01*[$itk_component(${axis}slicer) get]}] 814 eval _send cutplane position $pos $axis $vols 815 } 816 eval _send volume data state [_state volume] $vols 815 817 816 818 # if there are any commands in the buffer, send them now that we're done … … 952 954 953 955 # sync the state of slicers 956 set vols [_currentVolumeIds] 954 957 foreach axis {x y z} { 955 eval _send cutplane state [_state ${axis}slice] \ 956 $axis [_currentVolumeIds] 957 } 958 eval _send volume data state [_state volume] [_currentVolumeIds] 958 eval _send cutplane state [_state ${axis}slice] $axis $vols 959 set pos [expr {0.01*[$itk_component(${axis}slicer) get]}] 960 eval _send cutplane position $pos $axis $vols 961 } 962 eval _send volume data state [_state volume] $vols 959 963 $_dispatcher event -idle !legend 960 964 }
Note: See TracChangeset
for help on using the changeset viewer.