From: Mattia B. <mb...@ds...> - 2002-10-28 18:52:10
|
On Fri, 25 Oct 2002 12:27:59 +0200 Jouke Visser <jo...@pv...> wrote: > Hi, > > Mattia, I have a few requests for wxWindows classes to wrap in wxPerl: > > 1. Could you wrap Wx::Wave in wxPerl? It would provide a nice > multi-platform .wav player. There is no Perl module on CPAN that can > play .wav files on Windows *and* linux using the same interface yet. Surely not for 0.12 (if I keep adding things, I will never release it...) > 2. I was playing with Wx::EvtHandler and the Disconnect method only > allowed me to use the second form, using the 'lastid' parameter. I have > no clue what I should fill in there, and using the default -1 didn't > work. I think the first form of Disconnect ($handler->Disconnect(id, > eventtype)) would be much easier to use. Could you allow this? Using -1 should work (test case?). If you added the event handler using some EVT_FOO, you can use EVT_FOO( ..., undef ) to disconnect it (if it does not work, it is a bug). (this is from 0.12). > 3. Is there a possibility to wrap Wx::AutomationObject in the windows > version of wxPerl? That would allow me to discard Win32::OLE as an extra > module to use in my programs. Given that there already is Win32::OLE, this gets a very low priority. I will accept patches wrapping it. > 4. The same goes for Wx::DllLoader, which would prevent me from using > Win32::API No, Win32::API provides C/Perl glue code, which is not provided by Wx::DllLoader. Wx::DllLoader would offer the same functionalities as DynaLoader. > 5. One very important feature request for me personally would be to wrap > Wx::MemoryFSHandler. In the wxPerl 0.12 documentation you state that > this class is not implemented, however from the demo.pl and from my own > experience I know that Wx::ZipFSHandler and Wx::InternetFSHanderl *are* > implemented. I presume the documentation is right and that the > MemoryFSHandler is *not* currently implemented, which is something I > can't see why. Well, for no particular reason. Again, will not be in 0.12. Regards Mattia |