Class: Shoes::Swt::Button
- Defined in:
- shoes-swt/lib/shoes/swt/button.rb
Instance Attribute Summary
Attributes inherited from SwtButton
Instance Method Summary collapse
-
#initialize(dsl, app) ⇒ Button
constructor
Create a button.
- #text=(value) ⇒ Object
Methods inherited from SwtButton
#click, #enabled, #eval_block, #remove_listeners
Methods included from Common::Visibility
#hidden?, #hidden_from_view?, #hide, #outside_parent_view?, #show, #toggle, #visible?
Methods included from Common::Remove
Methods included from Common::Focus
Constructor Details
Instance Method Details
#text=(value) ⇒ Object
16 17 18 |
# File 'shoes-swt/lib/shoes/swt/button.rb', line 16 def text=(value) @real.text = value end |