EchoB wrote:
> Now I'm stuck - If I click the splash screen while it
is being displayed
> it calls the evt_close() event and prints a message.
However - if I wait
> for it to timeout - it fades away and then nothing
happens. What event
> is triggered at the timeout? How can I trap it?
I don't know how you can. But I don't know why you would?
Code execution continues after the call to SplashScreen.new,
allowing
you to do time-consuming initialisation while the splash is
visible and
entertaining the user. Once the initialisation is done you
can let the
Splash timeout, let the user close it, or explicitly close
it yourself
using a standard close call.
> Where are these events
> documented?
In a slightly scattered way: per-control event hooks (eg
TreeEvent,
CommandEvent, GridEvent) are listed with the control;
non-command GUI
event hooks (eg MenuEvent, SizeEvent, CloseEvent) are listed
in the
event class. The comprehensive list is very long (see
lib/wx/classes/evthandler.rb for a full alphabetic list),
but hte list
of Event classes in the doc homepage is not a bad place to
start.
alex
_______________________________________________
wxruby-users mailing list
wxruby-users rubyforge.org
ht
tp://rubyforge.org/mailman/listinfo/wxruby-users
|