diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-27 16:20:25 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-02-27 16:20:25 +0100 |
| commit | fc46e771cdd5b90d33fc7f895886fc43dea351c7 (patch) | |
| tree | 966449959d3b12c873fd60d8b34dd640fe54b89a /FL | |
| parent | 746cbf861a5a441695b2fc653ed8327a9b409035 (diff) | |
Improve prioritization of event handlers added at open display time
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl.H | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -851,7 +851,9 @@ public: /** Gets the current Fl::focus() widget. \sa Fl::focus(Fl_Widget*) */ static Fl_Widget* focus() {return focus_;} static void focus(Fl_Widget*); - static void add_handler(Fl_Event_Handler h); + static void add_handler(Fl_Event_Handler ha); + static void add_handler(Fl_Event_Handler ha, Fl_Event_Handler before); + static Fl_Event_Handler last_handler(); static void remove_handler(Fl_Event_Handler h); static void add_system_handler(Fl_System_Handler h, void *data); static void remove_system_handler(Fl_System_Handler h); |
