Ignore:
Timestamp:
May 2, 2012, 12:01:42 PM (13 years ago)
Author:
gah
Message:

Migrated drawing controls from branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/controls.tcl

    r2938 r2992  
    138138            bind $w <<Value>> [itcl::code $this _controlChanged $name]
    139139        }
    140         drawing {
    141             Rappture::DrawingEntry $w $_owner $path
    142             bind $w <<Value>> [itcl::code $this _controlChanged $name]
    143         }
    144140        group {
    145141            Rappture::GroupEntry $w $_owner $path
     
    164160            Rappture::TextEntry $w $_owner $path
    165161            bind $w <<Value>> [itcl::code $this _controlChanged $name]
     162        }
     163        drawing {
     164            Rappture::DrawingEntry $w $_owner $path
    166165        }
    167166        image {
     
    258257    set _name2info($name-enable) $enable
    259258
     259    set hidden [$_owner xml get $_name2info($name-path).hide]
     260    if { $hidden != "" } {
     261        set _name2info($name-enable) [expr !$hidden]
     262    }
    260263    $_owner widgetfor $path $w
    261264
Note: See TracChangeset for help on using the changeset viewer.