IupGetFloat

IUP - Portable User Interface

IupGetFloat

Verifies the value of an interface element attribute and converts it to a float value.

Parameters/Return

float IupGetFloat(Ihandle *element, char *a) [in C]
[There is no equivalent in IupLua]

element: Identifier of the interface element.
a: name of the attribute.

This function returns a float corresponding to the attribute’s value.

Note

The call to IupGetFloat cancels IUP’s internal buffer. This means that after the call to IupGetFloat, the contents previously returned by function IupGetAttribute is no longer valid.

See Also

IupGetAttribute, IupGetInt.