From 09daf20b81cdae78772f07c0af22a571d7cc73eb Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 29 Nov 2001 19:24:00 +0000 Subject: Documentation updates galore (up to chapter 7, still need to do chapter 8 and 9, tweek the appendices, and recapture the screenshots...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Hold_Browser.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'documentation/Fl_Hold_Browser.html') diff --git a/documentation/Fl_Hold_Browser.html b/documentation/Fl_Hold_Browser.html index 3cd7ba673..da9adf5ac 100644 --- a/documentation/Fl_Hold_Browser.html +++ b/documentation/Fl_Hold_Browser.html @@ -18,12 +18,12 @@

Description

The Fl_Hold_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, 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 + 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.

Methods

-Fl_Hold_Browser::Fl_Hold_Browser(int x, int y, int w, int h, const char +Fl_Hold_Browser::Fl_Hold_Browser(int x, int y, int w, int h, const char *label = 0)

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

virtual +. +

virtual Fl_Hold_Browser::~Fl_Hold_Browser()

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

int Fl_Browser::deselect()

- Same as value(0). + 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. +Fl_Multi_Browser. If you turn on the selection of more +than one line the results are unpredictable.

int Fl_Browser::value() const
void Fl_Browser::value(int)

- Set or get which line is selected. This returns zero if no line is + Set or get which line is selected. This returns zero if no line is selected, so be aware that this can happen in a callback. -- cgit v1.2.3