IupRadio

IUP - Portable User Interface

IupRadio

Creates the radio element for grouping mutual exclusive toggles. Only one of its descendet toggles will be active at a time. The toggles can be at any composion.

Creation

Ihandle* IupRadio(Ihandle *child); [in C]
iup.radio{child: ihandle} -> (elem: ihandle) [in Lua]
radio(child) [in LED]

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

Returns: the identifier of the created element, or NULL if an error occurs.

Attributes

VALUE: name identifier of the active toggle. The name is set by means of IupSetHandle.

Examples

Browse Example Files

iupradio.gif (2892 bytes)