Changeset 3654
- Timestamp:
- May 15, 2013, 1:10:54 PM (11 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/gauge.tcl
r3647 r3654 139 139 } 140 140 141 itk_component add spinup { 142 button $itk_component(spinner).up -image [Rappture::icon intplus] \ 143 -borderwidth 1 -relief raised -highlightthickness 0 \ 144 -command [itcl::code $this bump 1] 145 } { 146 usual 147 ignore -borderwidth -highlightthickness 148 rename -background -buttonbackground buttonBackground Background 149 } 150 pack $itk_component(spinup) -side left -expand yes -fill both 151 141 152 itk_component add spindn { 142 153 button $itk_component(spinner).down -image [Rappture::icon intminus] \ … … 148 159 rename -background -buttonbackground buttonBackground Background 149 160 } 150 pack $itk_component(spindn) -side left -expand yes -fill both 151 152 itk_component add spinup { 153 button $itk_component(spinner).up -image [Rappture::icon intplus] \ 154 -borderwidth 1 -relief raised -highlightthickness 0 \ 155 -command [itcl::code $this bump 1] 156 } { 157 usual 158 ignore -borderwidth -highlightthickness 159 rename -background -buttonbackground buttonBackground Background 160 } 161 pack $itk_component(spinup) -side right -expand yes -fill both 161 pack $itk_component(spindn) -side right -expand yes -fill both 162 162 163 163 itk_component add presets { -
trunk/gui/scripts/spinint.tcl
r3647 r3654 67 67 pack $itk_component(controls) -side right 68 68 69 itk_component add up { 70 button $itk_component(controls).spinup \ 71 -image [Rappture::icon intplus] \ 72 -borderwidth 1 -relief raised -highlightthickness 0 \ 73 -command [itcl::code $this bump up] 74 } { 75 usual 76 ignore -borderwidth -highlightthickness 77 rename -background -buttonbackground buttonBackground Background 78 } 79 pack $itk_component(up) -side left -expand yes -fill both 80 69 81 itk_component add down { 70 82 button $itk_component(controls).spindn \ … … 77 89 rename -background -buttonbackground buttonBackground Background 78 90 } 79 pack $itk_component(down) -side left -expand yes -fill both 80 81 itk_component add up { 82 button $itk_component(controls).spinup \ 83 -image [Rappture::icon intplus] \ 84 -borderwidth 1 -relief raised -highlightthickness 0 \ 85 -command [itcl::code $this bump up] 86 } { 87 usual 88 ignore -borderwidth -highlightthickness 89 rename -background -buttonbackground buttonBackground Background 90 } 91 pack $itk_component(up) -side right -expand yes -fill both 91 pack $itk_component(down) -side right -expand yes -fill both 92 92 93 93 eval itk_initialize $args
Note: See TracChangeset
for help on using the changeset viewer.