Re: Re[3]: [PHP-GTK] Images
| From: | Sander | Date: | Sat, 14 Apr 2001 18:16:28 +0000 |
| Subject: | Re: Re[3]: [PHP-GTK] Images | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1397@lists.php.net to get a copy of this message | ||
Using pixmap_colormap_create_from_xpm instead of pixmap_create_from_xpm will
do the trick, I think.
See the docs
(http://developer.gnome.org/doc/API/gdk/gdk-bitmaps-and-pixmaps.html).
Sander
----- Original Message -----
From: "Adam Rambousek" <rambousek@volny.cz>
To: "Andrei Zmievski" <andrei@ispi.net>; <php-gtk@lists.php.net>
Sent: Saturday, April 14, 2001 8:06 PM
Subject: Re[3]: [PHP-GTK] Images
> > This is because $window->window is NULL, since $window has not been
> > realized yet. Do $window->realize() right before that and you should be
fine.
> > -Andrei
>
> thanks a lot; now it works :)
> but it displays image only in b/w, not in colors - I'm testing it on Win -
is it
> a windows problem?
>
> --
> Adam Rambousek
> email: rambousek@volny.cz PGP KeyID: 33BD6BAE ICQ: 47596279
> www: http://adamovy.cestiny.cz mð미ÒG6«°
> ½eThttp://werich.poda.cz
http://rambousek.com
>
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>