Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Steve McClure
On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do something if its been sitting idle for a few minutes. What is the best way to go about this? It seems to me that I would need a timer that would be reset everytime a signal was emitted or

Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Chris Irish
Steve McClure wrote: On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do something if its been sitting idle for a few minutes. What is the best way to go about this? It seems to me that I would need a timer that would be reset

Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Steve McClure
On Fri, 2005-11-11 at 10:26 -0700, Chris Irish wrote: Steve McClure wrote: On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do something if its been sitting idle for a few minutes. What is the best way to go about this? It seems to

Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Chris Irish
Steve McClure wrote: On Fri, 2005-11-11 at 10:26 -0700, Chris Irish wrote: Steve McClure wrote: On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do something if its been sitting idle for a few

Re: [pygtk] Best way to check program idle time??

2005-11-11 Thread Steve McClure
On Fri, 2005-11-11 at 10:55 -0700, Chris Irish wrote: Steve McClure wrote: On Fri, 2005-11-11 at 10:26 -0700, Chris Irish wrote: Steve McClure wrote: On Fri, 2005-11-11 at 09:36 -0700, Chris Irish wrote: If I have a pygtk app and I want it to do