IupGetInt
Returns the value of an interface element attribute as an integer.
Parameters/Return
int IupGetInt(Ihandle *ih, char *name); [in C] - first integer found on string int IupGetInt2(Ihandle *ih, char *name); [in C] - second integer found on string int IupGetIntInt(Ihandle *ih, char *name, int *i1, int *i2); [in C] - first and second integers found on string, returns the number of integers found [There is no equivalent in IupLua]
ih: Identifier of the interface element.
name: name of the attribute.
Notes
In the first form, if the attribute value is "YES"/"NO" or "ON"/"OFF", the function returns 1 / 0, respectively.