[Iup-users] Re: Troubles with attributes resolved

Ingo Hohmann 200502.lists at ingohohmann.de
Mon Aug 21 15:32:28 GMT+3 2006


... not completely, it seems ...

Now I have a little script, when I start it the first time, elements
only resize in the vertical direction. When I start it a second time
from within the same interpreter session, it resizes in all
directions.

So it seems it's again some Attribute handling that's going crazy.

Do you have any ideas what I might have to look for?


Kind regards,

Ingo



On 8/21/06, Ingo Hohmann <200502.lists at ingohohmann.de> wrote:
> Hi,
>
> I've found the reason for many of my troubles with attributes not being set.
> It has to do with my use of IupSetAttribute, and the fact that newLISP strings
> are volatile, e.g. they're gc'ed faster than you're able to see ;-)
>
> I've switched to using IupStoreAttributes, and everything works fine now.
>
>
> Ingo
>



More information about the iup-users mailing list