Re: Fw: [PHP-GTK] Has anyone successfully made a backing pixmap for redraws yet?
| From: | Andrei Zmievski | Date: | Wed, 18 Jul 2001 21:11:57 +0000 |
| Subject: | Re: Fw: [PHP-GTK] Has anyone successfully made a backing pixmap for redraws yet? | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2269@lists.php.net to get a copy of this message | ||
On Wed, 18 Jul 2001, Steph wrote:
> I hate to keep on about this, but it would solve a few non-working/clunky scripts here ..
>
> I've gone back to the "scribble" example in the gtk manual & am finding that
> the translation into PHP-GTK isn't that smooth. Eg in the original, the pixmap is used as a
> drawable, which (my error messages tell me) our gdkpixmap isn't (huh?). The only way I can
> think of around that is to create a GtkPixmap and use its gdkwindow. Fine, except that the list
> structure doesn't work on gdk::pixmap_new() in the same way as it does when you're
> creating a pixmap from existing data or files, ie the gdkbitmap never gets created. I haven't
> found another way to create a gdkbitmap to get around this, either.
>
> & my head is being done in..
>
> Help?
I'll try to port Scribble example soon. Maybe tonight.
-Andrei
* There is no knowledge that is not power. *