Re: [gtk-list] Re: WM icons




On Mon, 21 Dec 1998, Johan Levin wrote:
> 
> The pixmap is to be viewed on the root-window (right?)

No a new X window is created to hold it, which the window manager will
manage. WindowMaker puts them on little tiles for example.

> What window would be the most corret one to use?
> Is it the window that is about to be minimized?
> 

Yes, the GdkWindow that is about to be minimized is the first argument.
The other window argument is to specify a pre-existing window to use for
the icon. If you don't give a window then one will be created for you to
hold the pixmap. You would give a pre-existing window if you wanted to do
something more complicated than hold a pixmap, like get events on the
window.

> BTW, Why do I need a window anyway.

You have to tell Gdk which window this is an icon for.

Havoc




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