diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-10-07 18:39:23 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-10-07 18:39:23 +0000 |
| commit | a965dff1759c1d14d7afd6aa8d05abc106a867f9 (patch) | |
| tree | 66b8316951ae61fafdfd291a84f9a364e88f45d4 /documentation/Fl_Browser_.html | |
| parent | eda8af507ee9e5dba1e3a1c77225f249321e6928 (diff) | |
STR #1742: Updated documentation to reflect the true nature of "selection()" and "value()" for Fl_Multi_Browser which can be quite surprisin for unsuspecting customers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Browser_.html')
| -rw-r--r-- | documentation/Fl_Browser_.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/documentation/Fl_Browser_.html b/documentation/Fl_Browser_.html index 99ff5b479..2183d61c7 100644 --- a/documentation/Fl_Browser_.html +++ b/documentation/Fl_Browser_.html @@ -376,8 +376,11 @@ callback function for the widget. <H4><A NAME="Fl_Browser_.selection">void *Fl_Browser_::selection() const</A></H4> <P>Returns the item currently selected, or NULL if there is no selection. -For multiple selection browsers this call returns the last item that was -selected. + +<P>For multiple selection browsers this call returns the currently focused item, +even if it is not selected. To find all selected items, call +<TT><A href=Fl_Multi_Browser.html#Fl_Multi_Browser.select> +Fl_Multi_Browser::selected()</A></TT> for every item in question. <H4><A name="Fl_Browser_.textcolor">Fl_Color Fl_Browser_::textcolor() const |
