Methods
- C
- P
- Y
Constants
| BindTag | = | TkBindTag.new_by_name(self.to_s.gsub(/::/, '#')) |
Class Public methods
pos=(idx)
Link
Source: show
# File ext/tk/sample/editable_listbox.rb, line 124 def self.pos=(idx); @pos = idx; end
Instance Public methods
configure(*args)
Link
Source: show
# File ext/tk/sample/editable_listbox.rb, line 47 def configure(*args) ret = super case cget(:state) when 'normal' # do nothing when 'disabled' _ebox_erase else # unknown # do nothing end ret end
create_self(keys)
Link
Source: show
# File ext/tk/sample/editable_listbox.rb, line 114 def create_self(keys) super(keys) unless self.listvariable self.listvariable = TkVariable.new(self.get(0, :end)) end @ebox = TkEntry.new(self){ @pos = nil def self.pos; @pos; end def self.pos=(idx); @pos = idx; end } _setup_ebox_bindings _setup_listbox_bindings end