Hi all,

When setting an attribute for a CellRendererPixbuf like so:

column.add_attribute(render_pixbuf, 'stock-size', gtk.ICON_SIZE_BUTTON)

I got the following error:

Warning: unable to set property `stock-size' of type `guint' from value
of type `gchararray'

The GTK+ C ref says that these are the correct constants to use.  What
am I doing wrong?  BTW, the stock icon is gtk.STOCK_APPLY, if that helps
any.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to