Re: Icon in Windows-programs
| From: | Andrei Zmievski | Date: | Wed, 18 Jul 2001 15:41:05 +0000 |
| Subject: | Re: Icon in Windows-programs | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2267@lists.php.net to get a copy of this message | ||
On Mon, 16 Jul 2001, Andrei Zmievski wrote:
> On Sun, 15 Jul 2001, Frank Kromann wrote:
> >
> > So far the icon is included with the gtk+ licrearies used when linking.
> >
> > I'll check to see if I can implement a (windwos specific) function to handle this on
> > runtime and not on compile time.
>
> I'll add the interface to set_icon() function.
It's done. Not sure if it works on Windows, but it does on Unix:
list($pixmap, $mask) = gdk::pixmap_create_from_xpm($window->window, null,
'hotlist.xpm');
$gdkw = $window->window;
$gdkw->set_icon(null, $pixmap, $mask);
-Andrei
"I still find each day too short for all the thoughts I want to think,
all the walks I want to take, all the books I want to read, and all the
friends I want to see."
-John Burroughs