GtkImage



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?

Thanks


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