New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
labltk exception #8046
Comments
Comment author: administrator Hi, open Tk;; Kun -----Original Message----- Hello,
What does "Tk code" mean? Code invoked by tk events? open Tk;;
|
Comment author: administrator Hello,
What does "Tk code" mean? Code invoked by tk events? open Tk;;
|
Comment author: administrator
Oops. My last mail was not correct. I am sorry. I verified the labltk source carefully, and found that I cannot immediately say this behaviour is "correct" or not, -- |
Comment author: administrator Current Labltk implementation doesn't propagate exceptions out of callbacks. |
Original bug ID: 1575
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Kun Gao
Version: 3.06
OS: Linux
Submission from: adsl-66-127-57-108.dsl.snfc21.pacbell.net (66.127.57.108)
Labltk does not propogate exceptions. Any exceptions raised inside of Tk code
does not get propogated outside of Tk...
For example:
let top = openTk ()
...
...
raise Some_exception;
...
...
Printexc.print mainLoop();
The exception will not be caught by the last line...
The text was updated successfully, but these errors were encountered: