- Timestamp:
- Aug 3, 2016 12:09:12 AM (8 years ago)
- Location:
- branches/1.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.7
- Property svn:mergeinfo changed
/branches/1.6 merged: 6441
- Property svn:mergeinfo changed
-
branches/1.7/gui/scripts/loader.tcl
r6313 r6463 38 38 39 39 private method SetDefaultValue { value } 40 private method EventuallySetDefaultValue { value } 40 41 41 42 private variable _owner "" ;# thing managing this control … … 246 247 set str [string trim [$_owner xml get $path.default]] 247 248 if { $str != "" } { 248 SetDefaultValue $str249 EventuallySetDefaultValue $str 249 250 } 250 251 } … … 285 286 $itk_component(combo) value $newval 286 287 return $newval 287 288 288 } elseif {[llength $args] != 0} { 289 289 error "wrong # args: should be \"value ?-check? ?newval?\"" … … 323 323 } 324 324 325 # 326 # SetDefaultValue -- 325 itcl::body Rappture::Loader::SetDefaultValue { value } { 326 $itk_component(combo) value $value 327 _newValue 328 } 329 # 330 # 331 # EventuallySetDefaultValue -- 327 332 # 328 333 # Sets the designated default value for the loader. This must be done … … 331 336 # themselves when they try to set their default values. 332 337 # 333 itcl::body Rappture::Loader:: SetDefaultValue { value } {334 after 100 [itcl::code $this value $value]338 itcl::body Rappture::Loader::EventuallySetDefaultValue { value } { 339 after 100 [itcl::code $this SetDefaultValue $value] 335 340 } 336 341
Note: See TracChangeset
for help on using the changeset viewer.