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 --- documentation/Fl_Choice.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'documentation') 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