Re: GtkImage



In glade, try erasing the size. There is almost never any need to set the
size of a widget in glade. Instead the size of a widget should be the size
of its contained widgets.

Regards,
Dov


2009/1/29 frederico schardong <frede sch gmail com>

2009/1/29 Dov Grobgeld <dov grobgeld gmail com>:
The GtkImage will change its size automatically according to the size of
the
image that you load. If you want to change the image size, then you
should
load it into a GdkPixbuf, resize it, and then set it with
gtk_image_set_from_pixbuf().

Btw, please keep CC:ing the mailing list, as there might be others with
similar questions.

Regards,
Dov

2009/1/29 frederico schardong <frede sch gmail com>

Hi,

But I must resize the image to the size of space of GtkImagem on
.glade..

how I do it?



But GtkImage don't change its size.. On glade I defined the size of
GtkImage,
that is not preventing it to resize?

Thanks




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