1. EuGTK?
- Posted by ssallen Sep 05, 2009
- 1386 views
Whats the latest with EuGTK? Anyone know if it is still being developed?
EDIT: Having looked through old forum posts it looks like Euphoric was having the same issue I am having. It seems that after opening the dll it can't find some of the procedures. I have commented out as many as I can but it makes me wonder if there is a different naming convention between the Windows and Linux versions?
Thanks Gents!
Steve A.
2. Re: EuGTK?
- Posted by ssallen Sep 05, 2009
- 1377 views
- Last edited Sep 06, 2009
Sorry for the concentric posts but the old post was really outdated. I have managed to get almost all of the euGTK demos to run under Windows Vista (probably XP too) but I need some help on the last couple. Does anyone know how to get a hold of Irv or M. Sabal? There is a chunk of code that I need their expertise on. Barring that, euGTK should be up and running with Beta-2 very shortly!
Thanks,
Steve A.
3. Re: EuGTK?
- Posted by irv Sep 05, 2009
- 1373 views
- Last edited Sep 06, 2009
The "new" version - a year or more old now - already works with the latest euphoria. It probably can be made to work on Windows, but not by me. Windows is something I no longer do.
Most recent update (today): http://etcwebspace.com/users/irvm/
4. Re: EuGTK?
- Posted by ssallen Sep 06, 2009
- 1348 views
Hi Irv,
Ah, brutal. I just spent the whole day getting 4.07 working under windows... I guess that will teach me to be a bit more patient! :)
You didn't happen to get around to the drag and drop functions did you?
Thanks,
Steve A.
5. Re: EuGTK?
- Posted by irv Sep 07, 2009
- 1271 views
To make drag & drop work, I need to pass the following array of arrays:
drop_types[] = { { "text/uri-list", 0, 0} };
How to create this in Euphoria?
6. Re: EuGTK?
- Posted by jimcbrown (admin) Sep 07, 2009
- 1265 views
To make drag & drop work, I need to pass the following array of arrays:
drop_types[] = { { "text/uri-list", 0, 0} };
How to create this in Euphoria?
I think one of the following two methods should work.
atom str_ptr = allocate_string("text/uri-list") atom drop_types_ptr = allocate(12) poke4(drop_types_ptr, str_ptr) poke4(drop_types_ptr+4, 0) poke4(drop_types_ptr+8, 0)
or
atom str_ptr = allocate_string("text/uri-list") atom drop_types_subarray_ptr = allocate(12) poke4(drop_types_subarray_ptr, str_ptr) poke4(drop_types_subarray_ptr+4, 0) poke4(drop_types_subarray_ptr+8, 0) atom drop_types_ptr = allocate(4) poke4(drop_types_ptr, drop_types_subarray_ptr)
7. Re: EuGTK?
- Posted by irv Sep 07, 2009
- 1275 views
Thanks! The first version worked, so now I have a (sort of hacked) drag and drop working. Package will be updated tomorrow on my webpage. Later for RapidEuphoria, when I have a chance to see if it can be done more cleanly.
8. Re: EuGTK?
- Posted by ssallen Sep 08, 2009
- 1132 views
Sweet!
Thanks Irv! Can't wait to take a look. I'll port the new version to win once your happy with the drag and drop functions. I already got all the 4.07 demos working, albeit somewhat hacked in places.
Thanks,
Steve A.