Class Select_Browser

(back to index)

Clickable list of lines

Inherits from Browser

Description

The Select_Browser class is a subclass of Browser which lets the user select a single item, or no items by clicking on the empty space. As long as the mouse button is held down the item pointed to by it is highlighted. Normally the callback is performed when the user presses the mouse, but you can change this with the when property.

See Browser for methods to add and remove lines from the browser.

Note that the value property will be zero (indicating no items selected) except during a callback.


doctool generated at Sun Aug 5 20:52:29 2001