Class: Makeconf::WxApp
- Inherits:
-
Wx::App
- Object
- Wx::App
- Makeconf::WxApp
- Defined in:
- lib/makeconf/wxapp.rb
Instance Method Summary collapse
Instance Method Details
#on_init ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/makeconf/wxapp.rb', line 6 def on_init @frame = Wx::Frame.new(nil, -1, 'Testing') @wizard = Wx::Wizard.new(@frame) pages = [ welcome ] @wizard.run_wizard(pages[0]) @wizard.Destroy() end |
#welcome ⇒ Object
16 17 18 19 20 |
# File 'lib/makeconf/wxapp.rb', line 16 def welcome x = Wx::WizardPageSimple.new(@wizard) Wx::StaticText.new(@wizard, :label => 'testing') x end |