Indeed I found there the handler_block command which actually exists
However it did not solve my problem at all
I even tried to the more direct disconnect at start and re-connection at the end of 
the routine but without further success

I am quite disappointed

I simply do not understand why the modification of the font makes a call to this 
routine
self.area.modify_font(font_desc)


JB



On Mon, 8 Dec 2003 10:59:52 -0200
Christian Robottom Reis <[EMAIL PROTECTED]> wrote:

> On Mon, Dec 08, 2003 at 12:47:39PM +0000, Jean-Baptiste Cazier wrote:
> > But I realise I put the wrong output line in my e-mail :(
> > 
> > area expose cb <GdkRectangle at 0x81fa890> 0 <__main__.DrawingArea instance at 
> > 0x863e97c> <GdkEvent at 0xbfffdaa0> <gtk.DrawingArea object (GtkDrawingArea) at 
> > 0x8513c04>
> > Traceback (most recent call last):
> >   File "./ldraw2.py", line 2884, in area_expose_cb
> >     area.signal_handler_block(self.signal_id)
> > AttributeError: 'gtk.DrawingArea' object has no attribute 'signal_handler_block'
> > 
> > Also the area itself does not have the attribute !
> 
> That's odd. In the 0.6 line, all GtkObjects have a
> signal_handler_block() method:
> 
>     >>> a = gtk.GtkDrawingArea()
>     >>> a.connect("expose-event", foo)
>     1
>     >>> a.signal_handler_block(1)
> 
> This seems to have turned into handler_block in GObject:
> 
>     http://www.moeraki.com/pygtkreference/pygtk2reference/class-gobject.html
> 
> Check it out and see if it gives you the expected results.
> 
> Take care,
> --
> Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331


-- 
-----------------------------
[EMAIL PROTECTED]

Department of Statistics
deCODE genetics     Sturlugata,8
570 2993          101 Reykjavík

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to