Invisible GtkImage
- From: Kip Warner <kip thevertigo com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Invisible GtkImage
- Date: Thu, 13 Jun 2013 18:09:35 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]