Module: Reactive::View::Wx::Binder
- Defined in:
- lib/binder.rb
Instance Method Summary collapse
Instance Method Details
#bind(control, events) ⇒ Object
6 7 8 9 10 |
# File 'lib/binder.rb', line 6 def bind(control, events) events.each do |event, hash| listen(event, control) {|wx_event| do_request(hash, wx_event)} end end |
#do_request(hash, wx_event = nil) ⇒ Object
12 13 14 |
# File 'lib/binder.rb', line 12 def do_request(hash, wx_event = nil) Base.do_request(hash, wx_event) end |