develooper Front page | perl.perl6.users | Postings from November 2018

wxWidgets nativecall

Thread Next
Perry Sebastian
November 21, 2018 02:31
wxWidgets nativecall
Message ID:
I built an odd little application using wxPerl. The code worked ok, but I
dislike the object interface and it does not mesh with P6. The big issue is
that wxPerl gets built and tied to wxWidgets C++ code - the two are linked
so you are basically stuck with that module to access wxWidgets. I have
looked at NativeCall and some AST converter (can't seem to find it
anymore). I'm not real thrilled about hacking C code, but I'm thinking that
I might be able to NativeCall the wxWindow base class or wxFrame and then
treat that as a P6 object - a windowing object. Any calls to window
functions would have to use NativeCall, too, but the window object could
accept roles and have async behaviors.
Anyone else looking at this?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About