GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Display image in a window with GTKImage

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
catalinjkd



Joined: 28 Jan 2008
Posts: 1

PostPosted: Mon Jan 28, 2008 9:43 am    Post subject: Display image in a window with GTKImage Reply with quote

Hello! I am new around here and I want your help.
I want to diplay an image from my pc in a window using gtkimage. I did search the forum but nothing.
I've tried to write the code but it is too hard. I know that has to be a container down there but don't know how to put it.
Thanks!
Back to top
Ujjwol
Familiar Face


Joined: 26 Feb 2008
Posts: 12

PostPosted: Thu Apr 10, 2008 1:25 am    Post subject: Re: Display image in a window with GTKImage Reply with quote

i think u can simply use the gtkimage widget no code is required
as far a newbie knows...........
GNU Boys speaks.........................
Back to top
dreblen
Never Seen the Sunlight


Joined: 14 Jun 2007
Posts: 534
Location: Falun, WI USA

PostPosted: Thu Apr 10, 2008 3:06 am    Post subject: Reply with quote

you should check out this:
http://library.gnome.org/devel/gtk/stable/GtkImage.html#gtk-image-new-from-file
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP