5.21 Tbcheckbutton widget

5.21.1 Description

A tbcheckbutton 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 and the button is switched on or off.

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

5.21.2 Parameters

5.21.3 Interface

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


Donatien Grolaux
Version 1.2.3 (20011129)