1 //
2 // "$Id$"
3 //
4 // Select browser header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file.  If this
10 // file is missing or damaged, see the license at:
11 //
12 //     http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 //     http://www.fltk.org/str.php
17 //
18 
19 /* \file
20    Fl_Select_Browser widget . */
21 
22 #ifndef Fl_Select_Browser_H
23 #define Fl_Select_Browser_H
24 
25 #include "Fl_Browser.H"
26 
27 /**
28   The class is a subclass of Fl_Browser
29   which lets the user select a single item, or no items by clicking on
30   the empty space.  As long as the mouse button is held down on an
31   unselected item it is highlighted. Normally the callback is done when the
32   user presses the mouse, but you can change this with when().
33   <P>See Fl_Browser for  methods to add and remove lines from the browser.
34 */
35 class FL_EXPORT Fl_Select_Browser : public Fl_Browser {
36 public:
37   /**
38     Creates a new Fl_Select_Browser widget using the given
39     position, size, and label string. The default boxtype is FL_DOWN_BOX.
40     The constructor specializes Fl_Browser() by setting the type to FL_SELECT_BROWSER.
41     The destructor destroys the widget and frees all memory that has been allocated.
42   */
43   Fl_Select_Browser(int X,int Y,int W,int H,const char *L=0);
44 };
45 
46 #endif
47 
48 //
49 // End of "$Id$".
50 //
51