From: Simon F. <sf...@fl...> - 2005-03-11 17:52:05
|
Mike Schroeder wrote: > Simon Flack wrote: > >> That'd be great. I tried using POE::Wheel::Wx that you posted last >> year but hit a bit of an impasse when I couldn't build POE for 5.6.1 >> on Win32. >> >> I'm going to try again, POE would be useful for a personal project I'm >> working on which doesn't need to run on perl 5.6.1. > > > Here is a *rough* little wxPOE sample app that we have used on win32, > GTK and OS X. We wanted a wxPerl and POE environment that allowed > parallel non-blocking data transactions in the background (using > POE::Component::Client::UserAgent) and wxPerl cross-platform GUIs. > While were at it, we want a subscribe/publish data model to allow > multiple frames to re-use the same data and/or to allow multiple frames > to be refreshed when data changed. That's neat. I can see that I need to approach things differently with POE. I have some reading to do. I'm currently using Class::Publisher for a publish/subscribe events. Originally, I rewrote wxPython's EventManager in perl. But it didn't quite do what I wanted so it's consigned to my CVS attic now. Class::Observable was close, but I wanted more fine-grain control over what events I could subscribe to. [snip] Thanks for the code sample. It gives me something to play with. Simon |