Changeset 3642 for trunk/gui/scripts/switch.tcl
- Timestamp:
- May 9, 2013, 11:29:37 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/switch.tcl
r3510 r3642 41 41 42 42 itk_component add button { 43 button $itk_interior.value \ 44 -compound left \ 43 button $itk_interior.value -compound left \ 45 44 -overrelief flat -relief flat -padx 3 -pady 0 -bd 0 \ 46 45 -command [itcl::code $this _toggle] … … 114 113 if { $_value } { 115 114 if {$itk_option(-showimage)} { 116 set image [Rappture::icon cbon]115 set image [Rappture::icon switch1] 117 116 } 118 117 if {$itk_option(-showtext)} { … … 121 120 } else { 122 121 if {$itk_option(-showimage)} { 123 set image [Rappture::icon cboff]122 set image [Rappture::icon switch0] 124 123 } 125 124 if {$itk_option(-showtext)} {
Note: See TracChangeset
for help on using the changeset viewer.