Overview
| Artifact ID: | b0d814783903cf2c924138c6cd6ed62f2bac033e |
|---|---|
| Ticket: | 1552653fffffffffffffffffffffffffffffffff
add Tcl_RunMainLoop() |
| User & Date: | nobody on 2006-09-05 13:19:42 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Routine Tcl_SetMainLoop() sets a static variable that can only be referenced if you use Tcl_Main(). If you don't want to use Tcl_Main(), there's no way to override Tcl_SetMainLoop() so you can catch it if a package calls it (e.g. if Tk gets loaded in a script with "package require Tk"). One option would be to add Tcl_GetMainLoop(), but even easier and what would presumably always be used would be: void Tcl_RunMainLoop() { if (mainLoopProc != NULL) (*mainLoopProc)(); mainLoopProc = NULL; } Thanks, [email protected] - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "None"
- title changed to: "add Tcl_RunMainLoop()"
- type changed to: "RFE"