Re: [pygtk] High CPU with expose-event

2003-12-08 Thread Jon Anderson
On Monday 08 December 2003 10:37 am, Gustavo J. A. M. Carneiro wrote: . This would be a Bad Idea (TM)! Anyway, an alternative to signal handler blocking, which doesn't seem to be working (I read down the thread), would be a simple trick of locking: def area_expose_cb(self, area,

[pygtk] pygtk interactive console

2003-07-16 Thread Jon Anderson
Hi, I've seen some similar type consoles, but thought I'd share my creation as well. It's an python interpreter embedded in a gtk.TextView. Since all code is executed from within the gtk.main() loop, you can place and show widgets interactively. Output is color coded, and there is some