5.22 Tbradiobutton widget

5.22.1 Description

A tbradiobutton is a widget that displays a textual string and a bitmap or image. If text is displayed, it is displayed below the bitmap or image if ever here is one defined. A tbcheckbutton has a flat border that gets raised when the mouse cursor gets over it. If the mouse 1 button is clicked, the tbbutton gets a sunken border. A tbcheckbutton is specially suited for toolbar buttons that looks like the toolbars of Netscape or Internet Explorer. When a user invokes the button (by pressing mouse button 1 with the cursor over the button), then the command specified in the action option is invoked.

Tbradiobuttons are grouped together with other tbradiobuttons, radiobuttons of menus and radiobuttons by specifying the same atom to the group parameter. Only one button of a same group can be on at a time.

A tbradiobutton has four differents states that have their own combinations of colors and border type :

5.22.2 Parameters

5.22.3 Interface

The object you get by an handle on the widget implements the following methods :


Donatien Grolaux
Version 1.2.3 (20011129)