|
|
| Author |
Message |
|
|
scriptoff Familiar Face
Joined: 09 Apr 2007 Posts: 10
|
Posted: Wed Jun 27, 2007 12:30 pm Post subject: Programming game with gdk/gtk |
|
|
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
|
Posted: Thu Jun 28, 2007 10:45 am Post subject: |
|
|
| how load an image with gdk ? |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 386 Location: Fairfax, Virginia
|
Posted: Thu Jun 28, 2007 11:43 am Post subject: |
|
|
| 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 |
|
 |
|