From 87dd7f0d23eba5c09e71ec6efeb34c6844f5e95f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 29 Dec 1998 14:21:17 +0000 Subject: Revised documentation files. git-svn-id: file:///fltk/svn/fltk/trunk@177 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Select_Browser.html | 72 ++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 documentation/Fl_Select_Browser.html (limited to 'documentation/Fl_Select_Browser.html') diff --git a/documentation/Fl_Select_Browser.html b/documentation/Fl_Select_Browser.html new file mode 100644 index 000000000..b29fbb944 --- /dev/null +++ b/documentation/Fl_Select_Browser.html @@ -0,0 +1,72 @@ + + + +
+ +

class Fl_Select_Browser

+ +
+ +

Class Hierarchy

+ + + +

Include Files

+ + + +

Description

+ +The Fl_Select_Browser class 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. Normally the callback is done when the +user presses the mouse, but you can change this with when(). + +

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

Methods

+ + + +

Fl_Select_Browser::Fl_Select_Browser(int x, int y, int w, int h, const char *label = 0)

+ +Creates a new Fl_Select_Browser widget using the given position, size, and +label string. The default boxtype is FL_DOWN_BOX. + +

virtual Fl_Select_Browser::~Fl_Select_Browser()

+ +The destructor also deletes all the items in the list. + +

int Fl_Browser::deselect()

+ +Same as value(0). + +

int Fl_Browser::select(int,int=1)
+int Fl_Browser::selected(int) const

+ +You can use these for compatibility with +Fl_Multi_Browser. If you +turn on the selection of more than one line the results are +unpredictable. + +

int Fl_Browser::value() const

+ +Returns the number of the highlighted item, or zero if none. Notice +that this is going to be zero except during a callback! + + + -- cgit v1.2.3