From d7b88a3bcc7e76f38ee5799be7722fd5a10781ef Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 13 Jan 1999 19:28:54 +0000 Subject: Updated all links so they work between files. Revision 1. git-svn-id: file:///fltk/svn/fltk/trunk@219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Multi_Browser.html | 127 ++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 72 deletions(-) (limited to 'documentation/Fl_Multi_Browser.html') diff --git a/documentation/Fl_Multi_Browser.html b/documentation/Fl_Multi_Browser.html index fb868c42d..f02b4e27b 100644 --- a/documentation/Fl_Multi_Browser.html +++ b/documentation/Fl_Multi_Browser.html @@ -1,73 +1,56 @@ - - - -
- -

class Fl_Multi_Browser

- -
- -

Class Hierarchy

- - +

Include Files

+ +

Description

+ The Fl_Multi_Browser class is a subclass of Fl_Browser + which lets the user select any set of the lines. The user interface +is Macintosh style: clicking an item turns off all the others and +selects that one, dragging selects all the items the mouse moves over, +and shift + click toggles the items. This is different then how forms +did it. 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_Multi_Browser::Fl_Multi_Browser(int x, int y, int w, int h, const +char *label = 0)

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

virtual +Fl_Multi_Browser::~Fl_Multi_Browser()

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

int Fl_Browser::deselect()

+ Deselects all lines. +

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

+ Selects one or more lines or gets the current selection state of a +line. +

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

+ Selects a single line or gets the last toggled line. This returns zero +if no line has been toggled, so be aware that this can happen in a +callback. \ No newline at end of file -- cgit v1.2.3