1. EuGTK?

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.

new topic     » topic index » view message » categorize

2. Re: EuGTK?

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.

new topic     » goto parent     » topic index » view message » categorize

3. Re: EuGTK?

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/

new topic     » goto parent     » topic index » view message » categorize

4. Re: EuGTK?

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: EuGTK?

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?

new topic     » goto parent     » topic index » view message » categorize

6. Re: EuGTK?

irv said...

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.

eu-like pseudocode said...
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

eu-like pseudocode said...
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) 
new topic     » goto parent     » topic index » view message » categorize

7. Re: EuGTK?

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.

new topic     » goto parent     » topic index » view message » categorize

8. Re: EuGTK?

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu