Loading images (newbie question...)
- From: Mike Aubury <mike aubit com>
- To: gtk-app-devel-list gnome org
- Subject: Loading images (newbie question...)
- Date: Tue, 30 Sep 2003 17:15:56 +0100
Help!
I've tracked down :
p = gdk_pixbuf_new_from_file (filename,NULL);
But how do I display this image in a GtkFixed ?
I'm trying to replace some old code :
p = gdk_pixmap_colormap_create_from_xpm (0,
gdk_colormap_get_system (), NULL,
NULL, filename);
pixmap = gtk_pixmap_new (p, 0);
so it'll load more than just .xpm's....
(I assume I need something like the gtk_pixmap_new)
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]