Re: Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap
| From: | Steph | Date: | Tue, 14 May 2002 17:03:20 +0000 |
| Subject: | Re: Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1965@lists.php.net to get a copy of this message | ||
Simon, hi
Is the original $window realized() before the pixmap is created?
----- Original Message -----
From: "firepages.com.au" <fire@firepages.com.au>
To: "PHP-GTK" <php-gtk-general@lists.php.net>
Sent: Tuesday, May 14, 2002 5:59 PM
Subject: [PHP-GTK] Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap
the subject line is pretty much it, get this warning whenever I use a pixmap.
It would not be a great bother but it makes the app lag whilst it prints out the warnings.
Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap
anyway I can lose this ? (the image still displays correctly)
the code I am using is taken straight from one of the samples that ship with the win binary..
list($pixmap, $mask) =
Gdk::pixmap_create_from_xpm($window->window,null,"../images/WVS.xpm");
$top_im = &new GtkPixmap($pixmap, $mask);
Regards,
Simon Wheeler