pixmap creating
- From: Norbert de Jonge <ndejonge tebenet nl>
- To: gnome-list gnome org
- Subject: pixmap creating
- Date: Wed, 27 May 1998 19:17:30 +0000
Hey all,
..I'm almost done with my Gnome-game, but I still have one problem.
When I start the game (it compiles alright), it gives me the following
error:
** WARNING **: Creating pixmap from xpm with NULL window and colormap.
What I do is this:
..
pixmap4 = gdk_pixmap_create_from_xpm (window1->window, &mask4,
&style4->bg[GTK_STATE_NORMAL], "xr23.xpm");
..
and I used:
GtkWidget *window1;
window1 = gtk_vbox_new (FALSE, 0);
(I know that is a little weird to use window1 for a vbox).
..And I know the error has something to do, with me not being allowed
to display xpm's on
just a box. Should I change 'window1->window'? To what?
Thankx, Norbert de Jonge
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]