Re: [pygtk] TextView: scrolling on output

2003-12-02 Thread Gustavo J. A. M. Carneiro
A Seg, 2003-12-01 às 14:22, Felix Benner escreveu: Am Do, 2003-11-27 um 14.24 schrieb Christian Robottom Reis: On Thu, Nov 27, 2003 at 01:38:29PM +0100, Felix Benner wrote: Hi, I'm using a TextView as a telnet terminal and want to scroll the view when new output arrives. I use the

[pygtk] How can I load a .glade file as string?

2003-12-02 Thread Michel Thadeu
Hi guys! I want to put the glade xml file in a string inside my program, is there a way to load the xml file from this string? I try to create a tmpfile with os.tmpfile() and then use this file to load xml, but I can't get the name of this file... Do someone have an idea? thanks for the

Re: [pygtk] How can I load a .glade file as string?

2003-12-02 Thread Christian Robottom Reis
On Tue, Dec 02, 2003 at 10:29:44AM -0300, Michel Thadeu wrote: I want to put the glade xml file in a string inside my program, is there a way to load the xml file from this string? I try to create a tmpfile with os.tmpfile() and then use this file to load xml, but I can't get the name of

Re: Re[2]: [pygtk] High CPU consumption when idle !?

2003-12-02 Thread Jean-Baptiste Cazier
Sael aftur ! Thanks for all your suggestions and ideas After further investigation and tests it turns out that the costing event is the connection to expose_event of the DrawingArea, not the mouse_motion, nor the resizing of the window. self.area.connect(expose-event, self.area_expose_cb)

Re: Re[2]: [pygtk] High CPU consumption when idle !?

2003-12-02 Thread Christian Robottom Reis
On Tue, Dec 02, 2003 at 07:50:43PM +, Jean-Baptiste Cazier wrote: After further investigation and tests it turns out that the costing event is the connection to expose_event of the DrawingArea, not the mouse_motion, nor the resizing of the window. self.area.connect(expose-event,