Re: GtkImage



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.
>            
> 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]