On Tue, 2003-12-23 at 07:52, John Finlay wrote:
> >When I try to set the stock-size property of the cellrenderer to my icon
> >size, i get this error:
> >
> >(:5279): GLib-GObject-WARNING **: value "((GtkIconSize) 7)" of type
> >`GtkIconSize' is invalid or out of range for property `stock-size' of
> >type `GtkIconSize'
> >
> This property is only available in gtk2.2. Likewise for the "stock-id" 
> and "stock-detail" properties. The PyGTK 2 reference docs erroneously 
> specify that these properties are available for gtk2.0.


Well, the stock-id property seems to work just fine, it displays my own
custom stock icons based on the stock id stored in the treestore. The
stock-size property also exists, and if I set it to any of the normal
gtk icon sizes, everything works just fine. It's just using my own icon
size that fails...



-- 
Erik Grinaker
http://erikg.wired-networks.net

This signature has been rot13-encrypted twice, reading it is illegal
under the terms of the DMCA.

_______________________________________________
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