FLTK logo

STR #2532

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #2532

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:Patch to make Fl::handle overridable
Version:1.3-feature
Created By:mingodad
Assigned To:matt
Fix Version:1.3.0 (SVN: v8314)
Fix Commit:7b832a512e9bc39e39802cfc81ac7de7d32017a4
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 mingodad
02:38 Jan 20, 2011
fl-handle-overridable.patch
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 mingodad
02:38 Jan 20, 2011
Here is a patch to allow Fl::handle be overridable by a user application, it comes for me as a need to use exceptions to handle errors in my application and found a problem with mingw on win32, even using vc++ or gcc on linux that do works with exceptions very well, the best place I found to install a global exception catch that is recoverable is at fl::handle entry point.  
 
#2 matt
11:56 Jan 25, 2011
I implemented it slightly differently because I felt that this keeps the interface consistent. The naming "dispatch" is meant to keep users from trying to replace regular "handle()" functions by using this call. Hope you like it.  
 
#3 AlbrechtS
15:48 Jan 14, 2023
Git commit of svn r8314 is 7b832a512e9bc39e39802cfc81ac7de7d32017a4  
 
#4 AlbrechtS
15:54 Jan 14, 2023
FTR: Added function is Fl::event_dispatch(), see documentation:
https://www.fltk.org/doc-1.3/group__fl__events.html#gafc8bd62d8fdacef87c56ed3a22cdcebc
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.