in reply to Re: Tk and X events
in thread Tk and X events

Hi there. Thanks for the reply. Sorry if I wasn't being too clear. You're right, I want to write a free X server for Win32. Here's the way I assume that the Tk module works. Tk, as originally written by John Ousterhout, was desinged to run on an X server. That is, the server would send Tk an X event to create a new screen or Tk would send the server an X event to indicate pointer position or a keypress (or maybe it's the other way around). I assume that this is still the case in perl/Tk (unless the Tk module was modified to use a different event structure just for perl, which actually might be the case in Win32). What I'm trying to discover is where these events are being created and whether or not I can insert my own stream of X events for Tk to interact with. I haven't been able to locate any documentation yet on the internals of perl/Tk. Thanks, CAK.