Re: GtkImage

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

 



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 checkit, 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@xxxxxxxxxxxxxxxxx>
_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux