Re: Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap

From: Date: Tue, 14 May 2002 17:02:43 +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-1966@lists.php.net to get a copy of this message
do a: $window->realize; before making the pixmap calls. This will create the GdkWindow that you need for the pixmap_create call. --rdp On Wed, 15 May 2002, firepages.com.au wrote: > 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 > > -- Rich Payne http://talisman.mv.com

« previous php.gtk.general (#1966) next »