Re: pixmaps newbie
| From: | Andrei Zmievski | Date: | Fri, 10 Aug 2001 21:48:36 +0000 |
| Subject: | Re: pixmaps newbie | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2769@lists.php.net to get a copy of this message | ||
On Fri, 10 Aug 2001, Daniel Adams wrote:
> Hello all,
> I am trying to use a pixmap i have in a file as the header for a column
> in gtkclist. This code:
> $GLOBALS["checkon_xmp"] = &new GdkPixmap ($win,
> $GLOBALS["checkon_bmp"],
> NULL, "./pixmaps/checkon.xpm");
>
> gives this error:
>
> Class gdkpixmap cannot be constructed directly
>
> Can anyone instruct me in the ways of the pixmap? Thank you.
list($pixmap, $mask) = gdk::pixmap_create_from_xpm($win, NULL, "./pixmaps/checkon.xpm");
-Andrei
"The only true currency in this bankrupt world is what we share with each
other when we're uncool." -- Lester Bangs, from the film 'Almost Famous'