RE: [Pgui-devel] python client libs

2002-08-02 Thread Gray, Tim
Re: [Pgui-devel] python client libs Sorry about that :) Still, there should be a better way than polling for events. The C client library uses select() to wait for either input from pgserver or a timeout. Something like that could be implemented in cli_python if this implementation is a problem. O

Re: [Pgui-devel] python client libs

2002-08-01 Thread Micah Dowty
Sorry about that :) Still, there should be a better way than polling for events. The C client library uses select() to wait for either input from pgserver or a timeout. Something like that could be implemented in cli_python if this implementation is a problem. On Fri, Aug 02, 2002 at 03:22:06A

Re: [Pgui-devel] python client libs

2002-08-01 Thread Lalo Martins
On Thu, Aug 01, 2002 at 04:35:04PM -0600, Micah Dowty wrote: > I made a small change to the cli_python event loop so that it wouldn't eat up 100% >CPU while idle. I might have messed something up when I did that? Confirmed, that was it. Your fix was trying to consume events that weren't there, a

Re: [Pgui-devel] python client libs

2002-08-01 Thread Micah Dowty
I made a small change to the cli_python event loop so that it wouldn't eat up 100% CPU while idle. I might have messed something up when I did that? On Thu, Aug 01, 2002 at 05:21:27PM -0300, Lalo Martins wrote: > On Thu, Aug 01, 2002 at 12:25:59PM -0600, Gray, Tim wrote: > > When I run the Hello

Re: [Pgui-devel] python client libs

2002-08-01 Thread Lalo Martins
On Thu, Aug 01, 2002 at 12:25:59PM -0600, Gray, Tim wrote: > When I run the Hellow_World_and_bye.py and you click on the button at the > bottom. you have to click it twice for it to work. I have also noticed that > after adding a second button that simply changes the bye.text to something > diffe