Re: Pixmap files don't load in Windows lately
| From: | Frank M. Kromann | Date: | Fri, 12 Oct 2001 17:35:07 +0000 |
| Subject: | Re: Pixmap files don't load in Windows lately | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-106@lists.php.net to get a copy of this message | ||
I have no problems loading pixmaps from files.
I use this command:
$img_running = Gdk::pixmap_create_from_xpm($main_window->window, null, "running.xpm");
- Frank
> I've had problems loading pixmaps from files over the last couple of binary releases -
> they load fine from data. It's as if they're not found ... this happens both in my baby
> glade file and in gtk.php, with xpm files that work fine in Glade itself (ie they're not
> corrupted) and that used to work fine in older releases of PHP-GTK.
>
> err msg via my glade file is:
>
> Gdk-CRITICAL **: file gdkdraw.c: line 328 (gdk_draw_drawable): assertion `src !
> NULL' failed
>
> err msg via gtk.php is:
>
> <b>Warning</b>: pixmap_create_from_xpm() cannot load pixmap in
> <b>C:\php4\devgtk.php</b> on line <b>847</b><br />
> <br />
> <b>Warning</b>: gtkpixmap() expects argument 1 to be GdkPixmap, null given in
> <b>C:\php4\dev\gtk.php</b> on line <b>848</b><br />
> <br />
> <b>Warning</b>: pack_start() expects argument 1 to be GtkWidget, null given in
> <b>C:\php4\dev\gtk.php</b> on line <b>852</b><br />
> <br />
> <b>Fatal error</b>: Call to a member function on a non-object in
> <b>C:\php4\dev
> \gtk.php</b> on line <b>854</b><br />
> C:\php4\dev\gtk.php has been running
>
>
>
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>