Hey list,

I am attempting to create a GtkImage that resizes to fill its parent
container while maintaining its aspect ratio. I do this by subclassing
GtkImage and overriding do_size_allocate().

        <http://pastebin.com/SD4RBkes>

The code mostly works in that I can see that the area the widget is
taking appears to be the correct size as I resize its parent. However,
the actual image pixels do not appear to be painted.

Any help appreciated,

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to