From: Joe L. <jfl...@dg...> - 2002-03-03 06:00:50
|
Is there a way to get Tk on Mac OS X to handle only its own events and leave other events to whoever else might handle them? I'm poking at trying to port an app. to OS X that has both Tcl/Tk and GLUT event loops working together and I'd like to have it so Tk handle's only Tk/Wish windows, events, etc. and GLUT handles only events related to the GLUT window(s) but they seem to steal each other's events even though the associated windows etc. are entirely unrelated. I'm pretty sure both event loops are getting called sufficiently and this works fine without collisions on Windows and Linux. Is it possible to to write libraries/frameworks on MacOS X such that they "play nicely" and handle only their own events without interfering with other libraries' UI that might have their own windows etc? Joe. |