IupRadio

IUP - Portable User Interface

IupRadio

Creates the radio interface element. Only one of its descendant toggles to be activated at a time.

Parameters/Return

Ihandle* IupRadio(Ihandle *element); [in C]
iupradio{element: iuplua_tag} -> (elem: iuplua_tag) [in IupLua3]
iup.radio{element: iuplua_tag} -> (elem: iuplua_tag) [in IupLua5]
radio(element) [in LED]

element: Identifier of an interface element. Usually it is a vbox or an hbox containing the toggles associated to the radio.

This function returns the identifier of the created radio, or NULL (nil in IupLua) if an error occurs.

Attributes

VALUE: Identifier of the activated toggle. The identifier is set by means of IupSetHandle.

Examples

iupradio.gif (2892 bytes)