Re: [pygtk] invalidating gui

2002-07-08 Thread Evan Hughes
On Mon, 8 Jul 2002, Malcolm Tredinnick wrote: > On Sun, Jul 07, 2002 at 06:29:37PM -0700, icewind wrote: ... > > In that while loop I put the code you suggested. When > > I run the application, I get the following message > > output (many times): > > > > GLib-WARNING **: g_main_iterate(): main lo

Re: [pygtk] Access to gtk snoop function

2002-06-04 Thread Evan Hughes
On Wed, 5 Jun 2002, James Henstridge wrote: > I think this is just a case of an API where the difficulty in wrapping > it outweighed the chance that someone might want to use it (wrapping > functions that don't use the standard GtkCallbackMarshal (gtk 1.2) or > GClosures (gtk 2.0) take a bit mo

Re: [pygtk] Detecting keystrokes

2002-05-28 Thread Evan Hughes
On Tue, 28 May 2002, Christian Reis wrote: > On Mon, May 27, 2002 at 11:54:18PM -0400, Evan Hughes wrote: > > (I've tried the solution mentioned in FAQ entry 3.2, but to no avail, it > > only detects keystrokes when the window has X focus) > > IOW, you want a w

[pygtk] Detecting keystrokes

2002-05-27 Thread Evan Hughes
I'm writing a keyboard grabbing applet to help sufferers of RSI/chronic-pain/carpal-tunnel. The idea is that the applet limits use of the keyboard/mouse to a certain period of time before forcing the user to take a break. I'd like to be able to detect when the user stops typing (if the user