Re: Displaying Image



>From: John Cupitt <john cupitt ng-london org uk>
>
>  GtkWidget *image = gtk_image_new_from_file ("myfile.png");

But what if I want load the image to memory without creating
the widget? I would later then map/morph the image and display it.

The loaded image should stay at the computer which runs my app,
and not go to the X display computer. What gtk_image_new_from_file()
does in this context?

Is there glib_image_new_from_file()? I would not like to use
any external image library.

Regards,
Juhana



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