Class: Lustr4Wx::TextAreaBuilder
- Inherits:
-
Lustr::BuilderBase
- Object
- Lustr::BuilderBase
- Lustr4Wx::TextAreaBuilder
- Defined in:
- lib/lustr-wx/text_area.rb
Instance Method Summary collapse
Instance Method Details
#build(parent_widget) ⇒ Object
41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/lustr-wx/text_area.rb', line 41 def build() flags=Wx::TE_MULTILINE if [:read_only] flags|=Wx::TE_READONLY end field=Lustr4Wx::Field.new(, -1, '', Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE, flags) return field end |