/ Published in: Ruby
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/usr/bin/env ruby require 'rubygems' require 'wx' include Wx class MainFrame < Frame def initialize(title) super(nil,-1, title) end end class MainApp < App def on_init frame = MainFrame.new("Test App") frame.show() end end MainApp.new.main_loop
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)