Re: GUI libraries
- Posted by _tom (admin) Sep 16, 2019
- 911 views
So, perhaps 3 more questions:
Can EuGTK be ported to phix - yes, no doubt, but lots of work.
A massive project that I could not wish on one person.
Possibly not needed since Phix has IUP for everyone except me and my 32bit computer.
Can libui be wrapped for phix? - seems probable, but needs volunteers.
The big incompatibility is the Euphoria map library. Maybe Pete can take a quick look to see if his tree equivalent can be make to work.
I wrote a libui "hello world" with two windows. My first impression is that you have to remember to look after a lot of details yourself. You have to write your own window closing sub-program since clicking the `x` of an open window is not enough to close the window or close the application.
You also have to close both windows in your close sub-program because leaving a window exposed results in a program crash.
Thanks Greg, I still see this as a great addition to Euphoria
Thanks Irv, you have have a superior gui.
Could tk/tcl be wrapped so it worked in a more Euphoric way?
The existing tk/tcl interface works by letting you write tk/tcl code (in the style of tk/tcl) within Euphoria and sending it to a running tk interpreter.
No clue how you would write an actual tcl wrapper.
_tom