gdk::pixmap_create_from_xpm

From: Date: Wed, 10 Sep 2003 18:42:58 +0000
Subject: gdk::pixmap_create_from_xpm
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3859@lists.php.net to get a copy of this message
gdk::pixmap_create_from_xpm ( $gdkwindow, $transparancy_color, $filename); This function takes a GdkWindow as its first parameter, but will work just fine if you send it NULL. What is the signifigance of this? Are there side effects from sending it NULL? It seems to load and draw just fine. I need to know, because I am creating the TextureManager for a PHP-GTk RPG game engine, and I wish to make the assumtion that all XPMs can be loaded with $window=NULL. -Paul Zirkle AKA Keless

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