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 *element); [in C]
iupradio{element: ihandle} -> (elem: ihandle) [in IupLua3]
iup.radio{element: ihandle} -> (elem: ihandle) [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 active toggle. The identifier is set by means of IupSetHandle.

Examples

iupradio.gif (2892 bytes)