[wxruby-users] restarting an application
Alex Fenton
alex at pressure.to
Wed Mar 18 06:11:46 EDT 2009
Fabio Petrucci wrote:
> i was wondering if is there any way to automatically restart wxruby
> application.
Can you explain a bit more what you mean? Under what circumstances would
the application be ending? If it's an exception, rescue it at the most
appropriate level.
You can't enter Wx::App's main loop more than once in a script, but you
can have no visible frames/dialogs. If you don't want to end the
application, hide() the frame, rather than close().
a
More information about the wxruby-users
mailing list