in reply to wxWidgets Events question

Can you pick one question you'd like answered?

Replies are listed 'Best First'.
Re^2: wxWidgets Events question
by greenhorn_007 (Acolyte) on May 28, 2014 at 05:50 UTC
    Ok, how can I do something after a specific event handler is done?

      Ok, how can I do something after a specific event handler is done?

      Is there an event type that is documented to fire after that specific event? Is it supported by wxPerl? For the installed/compiled-against version of wxWidgets?

      If there is, you simply register another event handler :)

      If there is not, then whatever you needed to do, you should have done from within your original event handler, perhaps at the very end of it :)

      OTOH , you can update display from within event handlers ... and from outside of them

        Is there an event type that is documented to fire after that specific event? Is it supported by wxPerl? For the installed/compiled-against version of wxWidgets?

        Well I'm not sure. Here I have the table with the possible event handlers. http://docs.wxwidgets.org/2.8.12/wx_wxwizardevent.html#wxwizardevent I think EVT_WIZARD_PAGE_CHANGED and EVT_WIZARD_PAGE_SHOWN follow each other. I wanted to use the second, but it looks like it's not defined. Where can I check if I really have it?

        If there is not, then whatever you needed to do, you should have done from within your original event handler, perhaps at the very end of it :)

        So if I can't get my hands on EVT_WIZARD_PAGE_SHOWN -> should do it in EVT_WIZARD_PAGE_CHANGED. The problem - the content of the page is not yet shown, but I need it to be on the screen.

        OTOH , you can update display from within event handlers ... and from outside of them

        How can I do that?