Class: Shoes::Swt::EditBox

Inherits:
InputBox show all
Defined in:
shoes-swt/lib/shoes/swt/input_box.rb

Constant Summary collapse

DEFAULT_STYLES =
::Swt::SWT::MULTI | ::Swt::SWT::BORDER | ::Swt::SWT::WRAP | ::Swt::SWT::V_SCROLL

Instance Attribute Summary

Attributes inherited from InputBox

#app, #dsl, #readonly, #real

Instance Method Summary collapse

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

#remove

Methods included from Common::Focus

#focus, #focused?

Constructor Details

#initialize(dsl, app) ⇒ EditBox

Returns a new instance of EditBox.



75
76
77
# File 'shoes-swt/lib/shoes/swt/input_box.rb', line 75

def initialize(dsl, app)
  super(dsl, app, DEFAULT_STYLES)
end