38.1 Overview

Radio class generates radio button gadgets. They do the same job as cycle gadgets and eat up more window space, maybe that's the reason why so few of them can be found in existing applications.

When you declare a radio gadget, you have to use the <item> tag to fill the radio gadget with items. Every radio gadget needs to have at least one item.

Here is an example XML excerpt for creating a radio gadget:

 
<radio id="printer">
    <item>HP Deskjet</item>
    <item>NEC P6</item>
    <item>Okimate 20</item>
</radio>

The radio entries that you specify using the <item> tag can use text formatting codes. See Text formatting codes for details.


Show TOC