Module: Lustr::Defaults
- Defined in:
- lib/lustr/defaults.rb
Class Method Summary collapse
- .app ⇒ Object
- .box ⇒ Object
- .button ⇒ Object
- .divided_box ⇒ Object
- .field ⇒ Object
- .html_area ⇒ Object
- .label ⇒ Object
- .list ⇒ Object
- .method_missing(sym, *parms) ⇒ Object
- .tab_panel ⇒ Object
- .text_area ⇒ Object
- .tree ⇒ Object
Class Method Details
.app ⇒ Object
18 19 20 |
# File 'lib/lustr/defaults.rb', line 18 def self.app {:title=>'', :width=>640, :height=>480} end |
.box ⇒ Object
22 23 24 |
# File 'lib/lustr/defaults.rb', line 22 def self.box {:direction=>:vertical} end |
.button ⇒ Object
26 27 28 |
# File 'lib/lustr/defaults.rb', line 26 def self. {:text=>'Click me!'} end |
.divided_box ⇒ Object
30 31 32 |
# File 'lib/lustr/defaults.rb', line 30 def self.divided_box box end |
.field ⇒ Object
34 35 36 |
# File 'lib/lustr/defaults.rb', line 34 def self.field {:text=>''} end |
.html_area ⇒ Object
38 39 40 |
# File 'lib/lustr/defaults.rb', line 38 def self.html_area {:wordWrap=>false} end |
.label ⇒ Object
42 43 44 |
# File 'lib/lustr/defaults.rb', line 42 def self.label {:text=>''} end |
.list ⇒ Object
46 47 48 |
# File 'lib/lustr/defaults.rb', line 46 def self.list {:editable=>false} end |
.method_missing(sym, *parms) ⇒ Object
62 63 64 |
# File 'lib/lustr/defaults.rb', line 62 def self.method_missing(sym, *parms) {} end |
.tab_panel ⇒ Object
50 51 52 |
# File 'lib/lustr/defaults.rb', line 50 def self.tab_panel {:label=>''} end |
.text_area ⇒ Object
54 55 56 |
# File 'lib/lustr/defaults.rb', line 54 def self.text_area {:editable=>true, :wordWrap=>false} end |
.tree ⇒ Object
58 59 60 |
# File 'lib/lustr/defaults.rb', line 58 def self.tree {} end |