summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2020-08-24 15:14:48 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2020-08-24 15:14:48 +0200
commita4f6badfcdda00c21a493f20a9e4acc76732be69 (patch)
tree814c717b6c6f5e42b094741dfbb5b318c1c91c1d /FL
parent340e2ac3a176ae04c89c1a3e1036472d3e847c62 (diff)
Improve 'Fl_When' enum documentation
Diffstat (limited to 'FL')
-rw-r--r--FL/Enumerations.H16
1 files changed, 8 insertions, 8 deletions
diff --git a/FL/Enumerations.H b/FL/Enumerations.H
index fad9dd964..a949a98e9 100644
--- a/FL/Enumerations.H
+++ b/FL/Enumerations.H
@@ -419,14 +419,14 @@ enum Fl_Event { // events
\todo doxygen comments for values are incomplete and maybe wrong or unclear
*/
enum Fl_When { // Fl_Widget::when():
- FL_WHEN_NEVER = 0, ///< Never call the callback
- FL_WHEN_CHANGED = 1, ///< Do the callback only when the widget value changes
- FL_WHEN_NOT_CHANGED = 2, ///< Do the callback whenever the user interacts with the widget
- FL_WHEN_RELEASE = 4, ///< Do the callback when the button or key is released and the value changes
- FL_WHEN_RELEASE_ALWAYS= 6, ///< Do the callback when the button or key is released, even if the value doesn't change
- FL_WHEN_ENTER_KEY = 8, ///< Do the callback when the user presses the ENTER key and the value changes
- FL_WHEN_ENTER_KEY_ALWAYS=10, ///< Do the callback when the user presses the ENTER key, even if the value doesn't change
- FL_WHEN_ENTER_KEY_CHANGED=11 ///< ?
+ FL_WHEN_NEVER = 0, ///< Never call the callback
+ FL_WHEN_CHANGED = 1, ///< Do the callback only when the widget value changes
+ FL_WHEN_NOT_CHANGED = 2, ///< Do the callback whenever the user interacts with the widget
+ FL_WHEN_RELEASE = 4, ///< Do the callback when the button or key is released and the value changes
+ FL_WHEN_RELEASE_ALWAYS = 6, ///< Do the callback when the button or key is released, even if the value doesn't change
+ FL_WHEN_ENTER_KEY = 8, ///< Do the callback when the user presses the ENTER key and the value changes
+ FL_WHEN_ENTER_KEY_ALWAYS =10, ///< Do the callback when the user presses the ENTER key, even if the value doesn't change
+ FL_WHEN_ENTER_KEY_CHANGED =11 ///< = (FL_WHEN_ENTER_KEY | FL_WHEN_CHANGED | FL_WHEN_NOT_CHANGED)
};
/*@}*/ // group: When Conditions