From 8826dca1066361b474139bcc5aeed2e3a5246ed0 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 5 Jan 2023 13:51:30 +0100 Subject: 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 --- FL/Fl_Window.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FL/Fl_Window.H') diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index ddb3283eb..f012d59a2 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -48,6 +48,9 @@ class Fl_Double_Window; The window's callback is done if the user tries to close a window using the window manager and Fl::modal() is zero or equal to the window. Fl_Window has a default callback that calls Fl_Window::hide(). + Callback reasons can be \p FL_REASON_CANCELLED if the Escape key was pressed, + or \p FL_REASON_CLOSED when the close button is clicked. \p FL_WHEN_... + flags are ignored. */ class FL_EXPORT Fl_Window : public Fl_Group { friend int Fl::arg(int argc, char **argv, int &i); -- cgit v1.2.3