GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Dec 19, 2014 7:17 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Programming game with gdk/gtk
PostPosted: Wed Jun 27, 2007 12:30 pm 
Offline
Familiar Face

Joined: Mon Apr 09, 2007 2:09 pm
Posts: 10
Hello ,

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

How Programming game with gtk/gdk ?


Thanks in advance .


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 10:45 am 
Offline
Familiar Face

Joined: Mon Apr 09, 2007 2:09 pm
Posts: 10
how load an image with gdk ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 11:43 am 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
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).

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group