summaryrefslogtreecommitdiff
path: root/FL/Fl_Menu_.H
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2015-01-10 22:05:15 +0000
committerGreg Ercolano <erco@seriss.com>2015-01-10 22:05:15 +0000
commitc732a4d635e8b6fe2765bb18bb8e8ef19cbaf2f2 (patch)
treec30bc0754eaed481aa1effb8ebe65f195f43a089 /FL/Fl_Menu_.H
parent8fe94273fffb5b968c0ac2dcf13d829de449ae0a (diff)
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
Diffstat (limited to 'FL/Fl_Menu_.H')
-rw-r--r--FL/Fl_Menu_.H3
1 files changed, 2 insertions, 1 deletions
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.