summaryrefslogtreecommitdiff
path: root/FL/Fl_Menu_Button.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Menu_Button.H')
-rw-r--r--FL/Fl_Menu_Button.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Menu_Button.H b/FL/Fl_Menu_Button.H
index 0e1036450..3f52593b4 100644
--- a/FL/Fl_Menu_Button.H
+++ b/FL/Fl_Menu_Button.H
@@ -52,6 +52,10 @@
is done instead, along with any userdata configured for it.
The callback can determine which item was picked using
value(), mvalue(), item_pathname(), etc.
+
+ FLTK triggers an `FL_BEFORE_MENU` event for this widget right before
+ displaying the menu. This event provides an opportunity to update menu
+ item states and activation.
*/
class FL_EXPORT Fl_Menu_Button : public Fl_Menu_ {
protected: