event loops and Python?

David Arnold arnold at dstc.edu.au
Sun Mar 12 10:08:41 EST 2000


-->"Jeremy" == Jeremy Henty <jeremy at chaos.org.uk> writes:

  Jeremy> |> i think tk uses the underlying Xt mainloop.

  Jeremy> I think not.  Tk does not use Xt at all.  It's an entirely
  Jeremy> independent widget set.

my apologies.

the relevant code would seem to be in the tcl distribution.  see the
files generic/tclNotify.c and (for example) unix/tclUnixNotify.c as
good starting points (at least in tcl8.0 which is what i have handy).

it seems reasonably well commented,


d




More information about the Python-list mailing list