diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-05 13:51:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-05 13:51:30 +0100 |
| commit | 8826dca1066361b474139bcc5aeed2e3a5246ed0 (patch) | |
| tree | 6819629ff3f9f014269c7cee090ab20a824af6ad /FL/Fl_Group.H | |
| parent | 4d1a508c7e4d28fd53129da79f068a275d7160bd (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_Group.H')
| -rw-r--r-- | FL/Fl_Group.H | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 793f2c854..1e21b20ba 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -47,6 +47,11 @@ class Fl_Rect; \endcode ..and this will trigger proper scheduling of the widget's removal from its parent group. + + If used as a child of \p Fl_Tabs, setting \p when(FL_WHEN_CLOSED) will + enable the Close button in the corresponding tab. If the user clicks the + Close button, the callback of this group will be called with the callback + reason \p FL_REASON_CLOSED. */ class FL_EXPORT Fl_Group : public Fl_Widget { |
