Re[3]: [PHP-GTK] Images

From: Date: Sat, 14 Apr 2001 13:44:19 +0000
Subject: Re[3]: [PHP-GTK] Images
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1387@lists.php.net to get a copy of this message
image is xpm now (thanks for help, Tarique) but the errors are the same :( > 18: $window = &new GtkWindow(); > 19: list($pixmap, $mask) = > Gdk::pixmap_create_from_xpm($window->window,null,"some.xpm"); > 20: $pixmapwid = &new GtkPixmap($pixmap, $mask); > 21: $window->add($pixmapwid); > 22: $window->show_all(); > and the result -> > Warning: pixmap_create_from_xpm() expects argument 1 to be gdkwindow, NULL > given in pixmap.php on line 19 > Warning: gtkpixmap() expects argument 1 to be gdkwindow, NULL given in > pixmap.php on line 20 > Warning: add() expects argument 1 to be gtkwidget, NULL given in pixmap.php on > line 21 > please, could anyone help me -- Adam Rambousek email: rambousek@volny.cz PGP KeyID: 33BD6BAE ICQ: 47596279 www: http://adamovy.cestiny.cz http://werich.poda.cz http://rambousek.com

« previous php.gtk (#1387) next »