Re: Displaying Image
- From: Juhana Sadeharju <kouhia nic funet fi>
- To: gtk-list gnome org
- Subject: Re: Displaying Image
- Date: Thu, 10 Jun 2004 22:10:13 +0300
>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]