in PyGTK+ 2.x:
label.set_property('text', text)
Cheers,
Matt
On Wed, May 01, 2002 at 03:31:18PM +0200, Erik Grinaker wrote:
>
> Also; I seem to be having some problems when the function is called the
> second time around; Python gives this error:
>
> File "main.py", line 142, in dialog_yesno
> label.set_text(text)
> AttributeError: 'NoneType' object has no attribute 'set_text'
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/