From c732a4d635e8b6fe2765bb18bb8e8ef19cbaf2f2 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sat, 10 Jan 2015 22:05:15 +0000 Subject: Documentation clarification for all menu oriented widgets regarding callbacks. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Menu_.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL/Fl_Menu_.H') diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H index b6a4e1577..7eb37cda7 100644 --- a/FL/Fl_Menu_.H +++ b/FL/Fl_Menu_.H @@ -36,7 +36,8 @@ array may either be supplied directly by the user program, or it may be "private": a dynamically allocated array managed by the Fl_Menu_. - When the user clicks a menu item: + When the user clicks a menu item, value() is set to that item + and then: - If the Fl_Menu_Item has a callback set, that callback is invoked with any userdata configured for it. -- cgit v1.2.3