Problem with custom events in wxpython

Jimmy mcknight0219 at gmail.com
Mon May 12 03:25:25 EDT 2008


On May 11, 11:27 pm, "Frank Niessink" <fr... at niessink.com> wrote:
> Hi Jimmy,
>
> 2008/5/11 Jimmy <mcknight0... at gmail.com>:
>
> > hi, all
>
> > I'm having a problem with creating custom events in wxpython.
>
> > I have a class A handling some data processing work and another class
> > B of GUI matter. I need GUI to display information when data in A is
> > updated.
> > I know cutom events in wxpython may work.
>
> You may want to look at the pubsub module. Available as wx.lib.pubsub
> in wxPython:http://www.wxpython.org/docs/api/wx.lib.pubsub-module.html,
> and also available separately on PyPI:http://pypi.python.org/pypi/PyPubSub/
>
> Cheers, Frank

hi, thanks
it works! however, it seems the message can not be exchanged between
processes :(
actually what I want to do is let a running process send data to GUI
process and display it



More information about the Python-list mailing list