Sha256: 158ca89d45b31164931101cab8079744d715813a9cad8aabe82e9262bb8ffba3
Contents?: true
Size: 562 Bytes
Versions: 5
Compression:
Stored size: 562 Bytes
Contents
# This is a little helper function used by some of the examples to report # missing dependencies information on startup. It's especially useful for the # Windows distribution since people will often start the examples by double- # clicking on an icon instead of running from the command line. require 'fox12' def missingDependency(msg) app = Fox::FXApp.new("Dummy", "FoxTest") app.init(ARGV) mainWindow = Fox::FXMainWindow.new(app, "") app.create Fox::FXMessageBox.error(mainWindow, Fox::MBOX_OK, "Dependencies Missing", msg) raise SystemExit end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
fxruby-1.2.3 | lib/fox12/missingdep.rb |
fxruby-1.2.2 | lib/fox12/missingdep.rb |
fxruby-1.2.4 | lib/fox12/missingdep.rb |
fxruby-1.2.5 | lib/fox12/missingdep.rb |
fxruby-1.2.6 | lib/fox12/missingdep.rb |