Hi,

the Icon class (derived from gtk.Image) is using gtk-icon-size-lookup[1] 
to determine the icon's size. The size must therefore be an enum like 
gtk.ICON_SIZE_MENU.

How do we best handle our custom sizes (like style.LARGE_ICON_SIZE)? 
You can registers a new icon size [2] but I am not sure this is the 
right approach.

Best,
    Simon

[1] 
http://www.pygtk.org/pygtk2reference/class-gtkiconsource.html#function-gtk--icon-size-lookup
[2]
http://www.pygtk.org/pygtk2reference/class-gtkiconsource.html#function-gtk--icon-size-register
_______________________________________________
Sugar mailing list
[email protected]
http://lists.laptop.org/listinfo/sugar

Reply via email to