[fxruby-users] FXSplashWindow
Thomas, Jason M (Software)
jmthomas at ball.com
Mon Jan 21 17:33:48 EST 2008
I saw Jeroen's suggestion on how to use FXSplashWindow on the
foxgui-users list and thought I'd try it.
My attempt was as follows:
require 'fox16'
include Fox
app = FXApp.new("App")
icon = nil
File.open('icon.gif', 'rb') { |f|
icon = FXGIFIcon.new(app, f.read)
}
splash = FXSplashWindow.new(app,icon)
splash.create
splash.show(PLACEMENT_OWNER)
app.runModalWhileShown(splash)
I get a Segmentation fault at the splash.create line. Does
FXSplashWindow work in fxRuby 1.3.13?
Thanks,
Jason Thomas
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
More information about the fxruby-users
mailing list