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 

Programming game with gdk/gtk

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
scriptoff
Familiar Face


Joined: 09 Apr 2007
Posts: 10

PostPosted: Wed Jun 27, 2007 12:30 pm    Post subject: Programming game with gdk/gtk Reply with quote

Hello ,

i 've found just this but that seems like deprecated .

How Programming game with gtk/gdk ?


Thanks in advance .
Back to top
scriptoff
Familiar Face


Joined: 09 Apr 2007
Posts: 10

PostPosted: Thu Jun 28, 2007 10:45 am    Post subject: Reply with quote

how load an image with gdk ?
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 386
Location: Fairfax, Virginia

PostPosted: Thu Jun 28, 2007 11:43 am    Post subject: Reply with quote

You want to use GdkPixbuf or GtkImage. With GdkPixbuf, use gdk_pixbuf_new_from_file(). You can then create a GtkImage widget from the pixbuf (or load the image directly from file if you don't need to do any type of scaling).
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