From a05ae33e20b09ab952ddbbf6762d5cfec77e4943 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 2 Jul 2025 16:16:48 +0200 Subject: Remove deprecated methods and functions In FLTK 1.5 we remove most (but not all) methods and functions that were deprecated in FLTK 1.3 or earlier. --- documentation/src/events.dox | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'documentation/src/events.dox') diff --git a/documentation/src/events.dox b/documentation/src/events.dox index 38dabeb6f..765e0720d 100644 --- a/documentation/src/events.dox +++ b/documentation/src/events.dox @@ -458,15 +458,12 @@ event by returning 1. FLTK will then remove the event and wait for further event from the host. If the widget's handle function returns 0, FLTK may redistribute the event based on a few rules. -Most events are sent directly to the \p handle() method -of the Fl_Window that the window system says they -belong to. The window (actually the Fl_Group that -Fl_Window is a subclass of) is responsible for sending -the events on to any child widgets. To make the -Fl_Group code somewhat easier, FLTK sends some events -(\p FL_DRAG, \p FL_RELEASE, \p FL_KEYBOARD, -\p FL_SHORTCUT, \p FL_UNFOCUS, and \p FL_LEAVE) -directly to leaf widgets. These procedures +Most events are sent directly to the \p handle() method of the Fl_Window that +the window system says they belong to. The window (actually the Fl_Group that +Fl_Window is a subclass of) is responsible for sending the events on to any +child widgets. To make the Fl_Group code somewhat easier, FLTK sends some +events (\p FL_DRAG, \p FL_RELEASE, \p FL_KEYBOARD, \p FL_SHORTCUT, +\p FL_UNFOCUS, and \p FL_LEAVE) directly to leaf widgets. These procedures control those leaf widgets: \li Fl::add_handler() @@ -475,7 +472,6 @@ control those leaf widgets: \li Fl::grab() \li Fl::modal() \li Fl::pushed() -\li Fl::release() (deprecated, see Fl::grab(0)) \li Fl_Widget::take_focus() FLTK propagates events along the widget hierarchy depending on the kind of event -- cgit v1.2.3