Re: Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap
| From: | firepages.com.au | Date: | Wed, 15 May 2002 02:18:45 +0000 |
| Subject: | Re: Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1969@lists.php.net to get a copy of this message | ||
aha !
Rich , Steph - that did the trick very nicely thankyou !!
Regards,
Simon Wheeler
----- Original Message -----
From: "Steph" <sfox@php.net>
To: "firepages.com.au" <fire@firepages.com.au>; "PHP-GTK"
<php-gtk-general@lists.php.net>
Sent: Wednesday, May 15, 2002 1:03 AM
Subject: Re: [PHP-GTK] Gdk-WARNING **: Creating pixmap from xpm with NULL
window and colormap
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