From 2bbf66c7a4893b85fda7331051a945ff90d3585e Mon Sep 17 00:00:00 2001
From: Michael R Sweet
Date: Sun, 6 Feb 2005 00:12:15 +0000
Subject: Clarify Fl_Choice callback description (STR #692)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
CHANGES | 2 +-
documentation/Fl_Choice.html | 7 +++++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/CHANGES b/CHANGES
index d0fb84514..01989f628 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,6 @@
CHANGES IN FLTK 1.1.7
- - Documentation fixes (STR #648)
+ - Documentation fixes (STR #648, STR #692)
- Fl_Check_Browser didn't draw properly when inactive
(STR #681)
- Removed some redundant code in Fl_Group::handle() (STR
diff --git a/documentation/Fl_Choice.html b/documentation/Fl_Choice.html
index 266c217d5..8644e0b73 100644
--- a/documentation/Fl_Choice.html
+++ b/documentation/Fl_Choice.html
@@ -27,8 +27,11 @@ outside the box. However, since the use of this is most often to
control a single variable rather than do individual callbacks, some of
the Fl_Menu_Button methods are redescribed here in those
terms.
-When the user picks an item off the menu the value() is set
-to that item and then the callback is done.
+When the user picks an item off the menu the value()
+is set to that item and then the item's callback is done with
+the menu_button as the Fl_Widget* argument. If the
+item does not have a callback the menu_button's callback is done
+instead.
All three mouse buttons pop up the menu. The Forms behavior of the
first two buttons to increment/decrement the choice is not implemented.
This could be added with a subclass, however.
--
cgit v1.2.3