Re: wxWidgets nativecall

2018-11-27 Thread Timo Paulssen
I haven't looked at wxwidgets with perl6, and the last time I used it
was with python many moons ago.

But I think the "AST converter" you're refering to is probably
App::GPTrixie - https://github.com/Skarsnik/gptrixie

If you have more questions, feel free to ask on the mailing list, or on
Stack Overflow, or real-time discussions on IRC, links can be found on
perl6.org

I haven't actually tried the C++ stuff in NativeCall, but we can surely
figure it out together :)

HTH
  - Timo

On 21/11/2018 03:31, Perry Sebastian wrote:
> 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 


wxWidgets nativecall

2018-11-20 Thread Perry Sebastian
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