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

wxWidgets nativecall

Thread Next
From:
Perry Sebastian
Date:
November 21, 2018 02:31
Subject:
wxWidgets nativecall
Message ID:
CANbo00NOSSNwzA8wGP=ObEOGud3rA6K+BGwisgwLsv9oyGVeHQ@mail.gmail.com
Hi,
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?
Perry

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About