Re: [gtk-list] Re: WM icons





Havoc Pennington wrote:

> On Sat, 19 Dec 1998, Jan Kellmer wrote:
> >
> > how does one set the icon that the WM uses for a GTK+ application?
> >
>
> gdk_window_set_icon() is what you want; the first arg is
> gtkwindow->window, the second can be NULL I think (you use it if you want
> to do something funky like have an animated icon), the pixmap arg is your
> icon, the mask is the mask for your pixmap if you want one.
>
> Hope this works, I've never done it. :-)
>

It works! I've tested it with gtk+ 1.1.7
Thank you!

    Jan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]