"Fossies" - the Fresh Open Source Software archive

Member "fltk-1.3.2/documentation/html/classFl__Hold__Browser.html" (9 Dec 2012, 8814 Bytes) of archive /linux/misc/fltk-1.3.2-docs-html.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

FLTK 1.3.2
Fl_Hold_Browser Class Reference

The Fl_Hold_Browser is a subclass of Fl_Browser which lets the user select a single item, or no items by clicking on the empty space. More...

#include <Fl_Hold_Browser.H>

Inheritance diagram for Fl_Hold_Browser:
Fl_Browser Fl_Browser_ Fl_Group Fl_Widget

List of all members.

Public Member Functions

 Fl_Hold_Browser (int X, int Y, int W, int H, const char *L=0)
 Creates a new Fl_Hold_Browser widget using the given position, size, and label string.

Detailed Description

The Fl_Hold_Browser is a subclass of Fl_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, and this highlighting remains on when the mouse button is released. Normally the callback is done when the user releases the mouse, but you can change this with when().

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


Constructor & Destructor Documentation

Fl_Hold_Browser::Fl_Hold_Browser ( int  X,
int  Y,
int  W,
int  H,
const char *  L = 0 
)

Creates a new Fl_Hold_Browser widget using the given position, size, and label string.

The default boxtype is FL_DOWN_BOX. The constructor specializes Fl_Browser() by setting the type to FL_HOLD_BROWSER. The destructor destroys the widget and frees all memory that has been allocated.


The documentation for this class was generated from the following files: