On 03/29/2005 05:35:50 PM, vector wrote:
> Hi newbie in trouble land.
> Just updated to the latest python,pygtk and I get this warning, iin fact 
> lots of similar ones. The program runs.
> 
> 
>  v.pack_start(vh,gtk.FALSE,gtk.FALSE)
> picview.py:177: GtkDeprecationWarning: gtk.FALSE is deprecated, use 
> False instead
> 
> I did what it said and Replaced FALSE with False and then got another error
> 
> Traceback (most recent call last):
>   File "pic_view.py", line 177, in ?
>     v.pack_start(vh,gtk.False,gtk.False)
> AttributeError: 'module' object has no attribute 'False'

Use 'False', not 'gtk.False', i.e. replace 'gtk.FALSE'
with the usual pythonic 'False' :-)

Alex

-- 
Alexander Roitman   http://ebner.neuroscience.umn.edu/people/alex.html
Dept. of Neuroscience, Lions Research Building
2001 6th Street SE, Minneapolis, MN  55455
Tel (612) 625-7566   FAX (612) 626-9201

Attachment: pgpBn8BoM5Yv6.pgp
Description: PGP signature

_______________________________________________
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