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 <[EMAIL PROTECTED]>
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list