Re: Displaying Image



Juhana Sadeharju wrote:
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.

Sure, there's a whole image handling API:

 http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/index.html

John



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