# File ext/widgets.rb, line 445 def checked=(val) @checked = val if @checked if @parent.selected.nil? @theme = @themek.newInstance(CheckedHk.new(@x1,@y1,@x2,@y2)) @parent.selected = self return end return if @parent.selected == self @theme = @themek.newInstance(CheckedHk.new(@x1,@y1,@x2,@y2)) @parent.selected.checked = false @parent.selected = self else return if @parent.selected != self @theme = @themek.newInstance(self) end end