Ok. Custom attributes are not stored in the native element, so they are
just a value associated to a string. Even when using IupSetAttributeId, if
it is not a documented attribute, internally a name like "ATTR_NAME3" will
be created and used to set an attribute.
So when adding or removing items of the list this will not affect those
attributes at all.
The IupTree element has a mechanism to associate a custom attribute with
an item, but IupList does not have one.
Best,
Scuri
From: Sławomir Błauciak [mailto:[email protected]]
Sent: sexta-feira, 16 de novembro de 2012 11:31
To: IUP discussion list.
Subject: Re: [Iup-users] Iup list items don't keep their additional
attributes
Yes, they are custom attributes. I set them using IupSetAttributeId(ih,
"ATTR_NAME", item_index, attr_value); And it's IupList.
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users