Re: Pixmap files don't load in Windows lately
| From: | Steph | Date: | Fri, 12 Oct 2001 17:40:50 +0000 |
| Subject: | Re: Pixmap files don't load in Windows lately | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-107@lists.php.net to get a copy of this message | ||
I'm using gtk.php as well as my own files and getting nowhere with it. Hasn't worked here
since 0.0.4
Anyone else had any trouble with it?
----- Original Message -----
From: "Frank M. Kromann" <frank@frontbase.com>
To: "Steph" <steph.fox@btinternet.com>
Cc: "PHP-GTK devel list" <php-gtk-dev@lists.php.net>
Sent: Friday, October 12, 2001 6:35 PM
Subject: Re: [PHP-GTK-DEV] Pixmap files don't load in Windows lately
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
>
>
>
--
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