2. Re: Phix/Gtk listview example
- Posted by _tom (admin) Jan 16, 2021
- 1001 views
Where are the include files for this demo?
be well
_tom
3. Re: Phix/Gtk listview example
- Posted by irv Jan 16, 2021
- 1009 views
There are 400 of them. 390 aren't tested at all. The other 10 are only partially tested. As a rough estimate, there are 3,000 routines to test. It may take a while.
4. Re: Phix/Gtk listview example
- Posted by _tom (admin) Jan 16, 2021
- 996 views
All I need are the 10 wrapped includes.
If you can get a button, msg, list, to work then you have enough of a gui to compete with IUP.
Then, we can claim GTK works on Phix. After all, I still can't get IUP to work on my computer.
be well
_tom
5. Re: Phix/Gtk listview example
- Posted by petelomax Jan 16, 2021
- 1003 views
I still can't get IUP to work on my computer.
Ah: After following the IUP instructions myself, as per the scrappy notes in demo\pGUI\lnx\installation.txt, I found it had installed
everything, but phix and ldd simply refused to find the files in /usr/lib64. The final bit of the puzzle was 'sudo ldconfig /usr/lib64'.
Now that it's working I can't (easily) prove that just 'sudo ldconfig' would be sufficient, or better. (Ubuntu 20)
Of course I'd love to see those notes knocked into half-decent shape, and then I could put them into the manual proper.
Were there any kind of script that would download the right things from sourceforge, I think I'd have spotted it by now,
so I think it's fair to say that anything useful like that simply does not exist...
6. Re: Phix/Gtk listview example
- Posted by _tom (admin) Jan 16, 2021
- 973 views
I have a very specific problem, I can load libiup.so (and randomly a few others) but can load libiupcontrols.so (and most of the .so)
By this I mean, load_dll for libiup.so gives me a number, load_dll for controls.so gives me 0.
The result is : no pGUI
I have this problem with OE also, so I gave up on IUP.
One cludge would be to get a stripped out pGui based on libiup.so only? A few buttons, and you can do elementary demos.
I can give you my revised installation notes on installing Phix. Currently I am using MX Linux with KDE. Installing Phix and OE is quite simple.
be well
_tom
7. Re: Phix/Gtk listview example
- Posted by petelomax Jan 16, 2021
- 972 views
I have a very specific problem, I can load libiup.so (and randomly a few others) but can load libiupcontrols.so (and most of the .so)
By this I mean, load_dll for libiup.so gives me a number, load_dll for controls.so gives me 0.
Not dissimilar to what I had, before running ldconfig, that is when I tried explicitly telling it to load "/usr/lib64/libiup.so" or "./libiup.so", etc.
One cludge would be to get a stripped out pGui based on libiup.so only? A few buttons, and you can do elementary demos.
MK, in pGUI.e there's only I think about 6 lines from 1795 onward that rely on libiupcontrols.so, maybe you could try simply commenting those out?
I can give you my revised installation notes on installing Phix. Currently I am using MX Linux with KDE. Installing Phix and OE is quite simple.
Sure, erm, let's see if the above helps first.
8. Re: Phix/Gtk listview example
- Posted by petelomax Jan 16, 2021
- 986 views
Nice.
There are 400 of them. 390 aren't tested at all. The other 10 are only partially tested. As a rough estimate, there are 3,000 routines to test. It may take a while.
Gotcha. I'm fairly eager to test as well, on Windows, which I expect you're not. Things might actually go smoother if (in your own time) you dribble things out rather than wait 12 months to dump all 400.
Equally, while you're making headway, there's no point sharing anything that's likely to just end up slowing you down.
9. Re: Phix/Gtk listview example
- Posted by _tom (admin) Jan 17, 2021
- 933 views
I have a very specific problem, I can load libiup.so (and randomly a few others) but can load libiupcontrols.so (and most of the .so)
By this I mean, load_dll for libiup.so gives me a number, load_dll for controls.so gives me 0.
Not dissimilar to what I had, before running ldconfig, that is when I tried explicitly telling it to load "/usr/lib64/libiup.so" or "./libiup.so", etc.
One cludge would be to get a stripped out pGui based on libiup.so only? A few buttons, and you can do elementary demos.
MK, in pGUI.e there's only I think about 6 lines from 1795 onward that rely on libiupcontrols.so, maybe you could try simply commenting those out?
I can give you my revised installation notes on installing Phix. Currently I am using MX Linux with KDE. Installing Phix and OE is quite simple.
Sure, erm, let's see if the above helps first.
started commenting out stuff, ended up with a one liner "segmentation fault"
be well
_tom
10. Re: Phix/Gtk listview example
- Posted by katsmeow Jan 17, 2021
- 947 views
All I need are the 10 wrapped includes.
If you can get a button, msg, list, to work then you have enough of a gui to compete with IUP.
Then, we can claim GTK works on Phix. After all, I still can't get IUP to work on my computer.
be well
_tom
Thank you, Tom. Now i don't feel so bad about not having any working windows gui interfaces that i wrote myself. Everything uses a "dos command console", much like the RDS trace/debugger, or early 1990's XT Gold program, or byte-banging popups to the C64 screen.
Kat
11. Re: Phix/Gtk listview example
- Posted by katsmeow Jan 17, 2021
- 933 views
Nice.
There are 400 of them. 390 aren't tested at all. The other 10 are only partially tested. As a rough estimate, there are 3,000 routines to test. It may take a while.
Gotcha. I'm fairly eager to test as well, on Windows, which I expect you're not. Things might actually go smoother if (in your own time) you dribble things out rather than wait 12 months to dump all 400.
Equally, while you're making headway, there's no point sharing anything that's likely to just end up slowing you down.
If you do the "dribble" routine, aka "release often", i beg you to not follow win32lib's path. Apps which include win32lib don't specify a version as part of the filename, and most versions are not compatable, and in some cases neither are the include files. Ergo, stuff using it in the archives doesn't work. I'd rather be including a complete 20 MB of your wrappers with GTK for each program, than rely on one "include irvs_Gtk.exw" to work for all apps over the next 10 years. Future proofing.
Kat
12. Re: Phix/Gtk listview example
- Posted by irv Jan 17, 2021
- 926 views
Thanks, Kat.
That is a very good point. I will, before I go any further, incorporate a "requires xxx" function so that program and includes can be checked upon loading.
13. Re: Phix/Gtk listview example
- Posted by petelomax Jan 17, 2021
- 938 views
started commenting out stuff, ended up with a one liner "segmentation fault"
Sounds like https://openeuphoria.org/forum/134427.wc posts 10 & 11, which (you may be pleased to hear) as part of the fix for https://openeuphoria.org/forum/135309.wc#135309 was (on December 22nd) all uploaded to https://github.com/petelomax/Phix/blob/master/builtins/VM/pcfunc.e - did you ever fetch that & rebuild?
14. Re: Phix/Gtk listview example
- Posted by petelomax Jan 17, 2021
- 921 views
incorporate a "requires xxx" function
I trust you'll call it gtk_requires() or requires_gtk(), and avoid clashing or getting confused with the new builtin requires() [not itself of very much help here I expect].
15. Re: Phix/Gtk listview example
- Posted by ChrisB (moderator) Jan 18, 2021
- 888 views
Well, I'm sorry, but I think that everyone's overlooked the most important thing here.
Bananas - less then $1 per lb!
Cheers Chris
16. Re: Phix/Gtk listview example
- Posted by irv Jan 18, 2021
- 885 views
Well, I'm sorry, but I think that everyone's overlooked the most important thing here.
Bananas - less then $1 per lb!
Cheers Chris
Actually, organic bananas are 58 cents a pound today at .
17. Re: Phix/Gtk listview example
- Posted by katsmeow Jan 18, 2021
- 901 views
Well, I'm sorry, but I think that everyone's overlooked the most important thing here.
Bananas - less then $1 per lb!
Cheers Chris
"than"
Kat