Module: Shoes::Swt::Common::Clickable
- Defined in:
- shoes-swt/lib/shoes/swt/common/clickable.rb
Instance Attribute Summary collapse
-
#click_listener ⇒ Object
Returns the value of attribute click_listener.
Instance Method Summary collapse
Instance Attribute Details
#click_listener ⇒ Object
Returns the value of attribute click_listener.
7 8 9 |
# File 'shoes-swt/lib/shoes/swt/common/clickable.rb', line 7 def click_listener @click_listener end |
Instance Method Details
#click(block) ⇒ Object
9 10 11 |
# File 'shoes-swt/lib/shoes/swt/common/clickable.rb', line 9 def click(block) app.click_listener.add_click_listener(dsl, block) end |
#release(block) ⇒ Object
13 14 15 |
# File 'shoes-swt/lib/shoes/swt/common/clickable.rb', line 13 def release(block) app.click_listener.add_release_listener(dsl, block) end |