Method: ExtWindow#initialize
- Defined in:
- lib/extclasses/window.rb
#initialize(config, parent) ⇒ ExtWindow
Returns a new instance of ExtWindow.
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/extclasses/window.rb', line 4 def initialize(config, parent) @default_config = { y: 10, width: 500, layout: "anchor", title: "My Window", maximizable: true, modal: true, padding: "0.5em" } super "window", config, parent end |