IupGetAllAttributes (Since 3.0)

Returns the names of all attributes of an element that are set in its internal hash table only.

Parameters/Return

int IupGetAllAttributes(Ihandle* ih, char** names, int max_n); [in C]
iup.GetAllAttributes(ih: ihandle[, max_n: number]) -> (names: table, n: number) [in Lua]

ih: identifier of the interface element.
names
: table receiving the names. Only the list of names need to be allocated. Each name will point to an internal string.
max_n: maximum number of names the table can receive. Can be omitted in Lua.

Returns: the actual number of names loaded to the table. If names==NULL or max_n==0 or -1 then returns the maximum number of names.

See Also

IupGetAttribute, IupSetAttribute, IupSetAttributes