Re: [pygtk] funkiness with gtk constants and CellRendererPixbuf

2010-08-18 Thread Greg Bair
On Thu, 2010-08-19 at 08:56 +1200, Tim Evans wrote: > On 2010-08-18 22:01, Greg Bair wrote: > > 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: > > > > Warn

Re: [pygtk] funkiness with gtk constants and CellRendererPixbuf

2010-08-18 Thread Tim Evans
On 2010-08-18 22:01, Greg Bair wrote: 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 `gcharar

Re: [pygtk] funkiness with gtk constants and CellRendererPixbuf

2010-08-18 Thread Timo
On 18-08-10 12:01, Greg Bair wrote: 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 `gchararra

Re: [pygtk] funkiness with gtk constants and CellRendererPixbuf

2010-08-18 Thread Timo
On 18-08-10 12:01, Greg Bair wrote: 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 `gchararra

[pygtk] funkiness with gtk constants and CellRendererPixbuf

2010-08-18 Thread Greg Bair
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