Size of GtkImage?


I'am trying to dynamicly resize a GdkPixbuf, if the GtkImage that shows
the Pixbuf is reasized.

That means, if the GtkImage is getting bigger, the GdkPixbuf should be
replaced by a scaled GdkPixuf.

I allready looked at the API at, but couldn't find a function,
that returns the actual size of the GtkImage in Pixels, to scale the

Is there a way to retrieve the size of the GtkImage?



Matthias Bläsing                    Ghandi: Zuerst ignorieren sie dich,
ICQ: 84617206                               dann belächeln sie dich,
MSN: linuxfun hotmail com                   dann bekämpfen sie dich,
AIM: linuxfun81                             dann gewinnst du.
Jabber: linuxfun amessage de                (Microsoft ist in der 3. Phase)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]