Sha256: deb0eb70a2a1edd841218ab276bf36a6efe4c20185a035344bf7017ec072cf5d
Contents?: true
Size: 468 Bytes
Versions: 12
Compression:
Stored size: 468 Bytes
Contents
#!/usr/bin/env ruby # wxRuby2 Sample Code. Copyright (c) 2004-2006 Kevin B. Smith # Freely reusable code: see SAMPLES-LICENSE.TXT for details begin require 'wx' rescue LoadError => no_wx_err begin require 'rubygems' require 'wx' rescue LoadError raise no_wx_err end end # This is the minimum code to start a WxRuby app - create a Frame, and # show it. Wx::App.run do frame = Wx::Frame.new(nil, :title => "Minimal wxRuby App") frame.show end
Version data entries
12 entries across 12 versions & 1 rubygems