From: Scott B. <sc...@go...> - 2001-09-22 23:28:30
|
Hi Mattia, > > Are all the functions/classes available in the perl API? > In fact *no one* is available (directly), but it is not difficult to > wrap them. The point is that wxStreams are of any use in wxWindows > ( C++ ), because > 1 - at the time they were written STL ( Standard Template Library, > the C++ standard library ) was much less widely available > than it is now > 2 - they have some Value Added ( like wxSocketStreams, > wxZlibStreams... ) > > I did not care to wrap them because most of what they provide > is available in perl ( maybe through CPAN modules ), > so there is little to gain in using them ( apart from the > nice wx prefix, I mean ;-) ) > The main problem I am having right now is POE depends on the event loop for which it is supporting for IO events such as knowing when data is available on an FD. In Gtk it uses Gtk::Gdk->input_add and Gtk::Gdk->input_remove which allows it to set up events based on weather an FD has stuff waiting or is ready to recieve data. I will do some more research and see if there is a way to work- around the lack of IO events. Thanks a lot for your time. Cheers, Scott -- -------------------- Gossamer Threads Inc. ---------------------- Scott Beck Email: sc...@go... Lead Software Developer Phone: (604) 687-5804 http://www.gossamer-threads.com Fax: (604) 687-5806 |