[wxPython-users] Custom Event Handling
Murat Erten
murerten at gmail.com
Tue Jan 2 04:38:21 PST 2007
2007/1/1, Robin Dunn <robin at alldunn.com>:
> Murat Erten wrote:
>
> > It works when I subscribe to MyClass from a wx.Frame but it doesn't
> > work on a custom class extending from wx.EvtHandler as I said before
> > on top of the page. I wonder why ?
>
> I don't know, I don't see anything wrong from just reading your code
> snippets. Maybe a fully working example would help...
>
> >
> > Is there any other easy way of publishing events ?
>
> Yes. Since you are wanting to fully manage the publish and subscribe
> process and are using custom events, then there is really no reason at
> all to use the wx event system. You're just reinventing what is already
> in the wx.lib.pubsub module.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
I made it work. Sorry for bothering for such a little issue and thank you.
More information about the wxpython-users
mailing list