Re: GtkImage



El lun, 08-10-2007 a las 08:59 -0400, Claudio Saavedra escribi� El lun, 08-10-2007 a las 13:33 +0200, alberto barbaro escribi� > I'm trying that:
> > 
> > image=gtk_image_new_from_file("a.bmp");
> > printf("Pixel %d\n",gtk_image_get_pixel_size
> > (GTK_IMAGE(image)));
> > 
> > And i have always -1.

Ah, by the way. Please check properly the documentation. If you check
it, you'll notice that the "pixel-size" property is set by default to
-1. So there's nothing wrong there.

Claudio

> >            
> > Have you an example code? 
> 
> Check this (awful) image viewer:
> 
> http://www.gnome.org/~csaavedra/hacks/gqs.c
> 
> Claudio
> 
> 
-- 
Claudio Saavedra <csaavedra alumnos utalca cl>




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