IUP/Functions/IupStoreAttribute

From Vendetta Lua
Revision as of 23:42, 10 May 2023 by Draugath (talk | contribs) (Created page with "__NOTOC__ __NOEDITSECTION__ Defines an attribute for an interface element. ===Parameters/Return=== :iup.StoreAttribute('''element''': ihandle, '''attribute''': string, '''va...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Defines an attribute for an interface element.

Parameters/Return

iup.StoreAttribute(element: ihandle, attribute: string, value: string)
element: identifier of the interface element.
a: name of the attribute. Must be uppercase
v: value of the attribute. If it equals nil, the attribute will be removed from the element.

Note

The value stored in the attribute is duplicated. Usually you will not use this function to store private attributes of the application.
VO: This function appears to operate the same as IupSetAttribute.

See Also

IupGetAttribute, IupSetAttribute