Returns the value of an interface element attribute as an integer.
int IupGetInt(Ihandle *ih, const char *name); [in C] - first integer found on string int IupGetInt2(Ihandle *ih, const char *name); [in C] - second integer found on string int IupGetIntInt(Ihandle *ih, const char *name, int *i1, int *i2); [in C] - first and second integers found on string int IupGetIntId(Ihandle *ih, const char *name, int id); [in C] int IupGetIntId2(Ihandle* ih, const char* name, int lin, int col); [in C] [There is no equivalent in Lua]
ih: Identifier of the interface element.
name: name of the attribute.
id, lin, col: used when the attribute has additional ids.
Returns: the attribute value or 0 if not found. "IntInt" returns the number of integers found.
In the first form, if the attribute value is "YES"/"NO" or "ON"/"OFF", the function returns 1 / 0, respectively.