Re: [PHP-GTK] pixmaps newbie
[email protected] (Andrei Zmievski) Fri, 10 Aug 2001 16:48:36 -0500
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
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'