[wxruby-users] Preloading the wx libraries

Magnus Engström magnus at aoeu.info
Tue Jul 15 10:50:22 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a Nokia N810, running Linux, and wxruby works quite well on it,
except application startup which takes quite some time.

I have thought about preloading the wx libraries in some kind of
launcher, which then brings up the forms on some signal.

I tried calling MyApplication.new.main_loop multiple times (exited the
main loop in between), which complained about the constant THE_APP
already being defined. Undefining this and trying again gave me a
segfault. I also tried handling this in the on_init method, but it
didn't work so well when it wasn't allowed to return ;-)

Do someone have any suggestions about how to create this type of launcher?

Best regards,
Magnus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh8uS0ACgkQFsdVGDM22G6KigCbB57hPWZY+UFdnPfqIhCxsu3J
VlYAn1sxXgSydAnmywJ8lUQAWtdHttKr
=BLZH
-----END PGP SIGNATURE-----


More information about the wxruby-users mailing list