Re: Show A pic on window?



vahid zahiri wrote:

>  I want show a picture (like .png or .jpg or orther)
>   on program window.
>  How can i do this?


There's a FAQ on this too:

http://www.gtk.org/faq/#AEN654

You'll need to use libjpeg/libtiff/libpng/whatever to load the image 
into memory.

You could try imlib or gdk-pixbuf as well.

John



========================================================== 
Renaissance Autumn at the National Gallery 
A season of exhibitions, displays and events with a Renaissance theme. 

Pisanello: Painter to the Renaissance Court (24 October - 13 January 2002) 

For information and tickets: 
http://www.nationalgallery.org.uk/what/news/ren_autumn.htm



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