summaryrefslogtreecommitdiff
path: root/FL/Fl_Button.H
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-01-05 13:51:30 +0100
committerGitHub <noreply@github.com>2023-01-05 13:51:30 +0100
commit8826dca1066361b474139bcc5aeed2e3a5246ed0 (patch)
tree6819629ff3f9f014269c7cee090ab20a824af6ad /FL/Fl_Button.H
parent4d1a508c7e4d28fd53129da79f068a275d7160bd (diff)
Add close buttons for individual tabs in Fl_Tabs (#628)
Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features
Diffstat (limited to 'FL/Fl_Button.H')
-rw-r--r--FL/Fl_Button.H9
1 files changed, 7 insertions, 2 deletions
diff --git a/FL/Fl_Button.H b/FL/Fl_Button.H
index 38d804070..14e515d1b 100644
--- a/FL/Fl_Button.H
+++ b/FL/Fl_Button.H
@@ -65,10 +65,15 @@ class Fl_Widget_Tracker;
being \c FL_WHEN_RELEASE:
\li \c 0: The callback is not done, instead changed() is turned on.
\li \c FL_WHEN_RELEASE: The callback is done after the user successfully
- clicks the button, or when a shortcut is typed.
+ clicks the button, or when a shortcut is typed. The reason is
+ \p FL_REASON_RELEASED.
\li \c FL_WHEN_CHANGED: The callback is done each time the value() changes
(when the user pushes and releases the button, and as the mouse is
- dragged around in and out of the button).
+ dragged around in and out of the button). The reason is set to
+ \p FL_REASON_CHANGED
+ \li \c FL_WHEN_NOT_CHANGED: The callback is done when the mouse button is
+ released, but the value did not changed. The reason is set to
+ \p FL_REASON_SELECTED
*/
class FL_EXPORT Fl_Button : public Fl_Widget {