Class: Shoes::Swt::EditLine
- Defined in:
- shoes-swt/lib/shoes/swt/input_box.rb
Constant Summary collapse
Instance Attribute Summary
Attributes inherited from InputBox
Instance Method Summary collapse
-
#initialize(dsl, app) ⇒ EditLine
constructor
A new instance of EditLine.
Methods inherited from InputBox
#caret_to, #enabled, #highlight_text, #text, #text=
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
#initialize(dsl, app) ⇒ EditLine
Returns a new instance of EditLine.
66 67 68 69 70 |
# File 'shoes-swt/lib/shoes/swt/input_box.rb', line 66 def initialize(dsl, app) styles = DEFAULT_STYLES styles |= ::Swt::SWT::PASSWORD if dsl.secret? super(dsl, app, styles) end |