[pygtk] event timing precision question

Greg Steffensen greg.steffensen at gmail.com
Sat Nov 18 08:18:16 WST 2006


I'm working on a project for which I'd like to be able to detect the
exact moment at which keypress/keyrelease events occur, to within a
millisecond or so of accuracy.  Is it reasonable to do this with
pygtk, or would I be better served using c and gtk?  I know that
gtk.gdk.Event.get_time() has adequate precision; I'm wondering about
the accuracy.  Thanks,

Greg


More information about the pygtk mailing list