[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: detecting window visibility
- From: Carlos Pereira <carlos pehoe civil ist utl pt>
- To: gtk-app-devel-list redhat com
- Subject: Re: detecting window visibility
- Date: Wed, 16 Feb 2000 02:03:33 GMT
>So what I really need to know is:
>* Given a widget/window, can you detect whether or not it is
> iconified?
>* Given a widget/window, can you detect which desktop it is on? Or,
> less generally, can you detect if it is on the current desktop?)
Someone mentioned xev in this list some days ago, have you tried it?
When I minimize a window, xev tells me this:
UnmapNotify event, serial 18, synthetic NO, window 0x2c00001,
event 0x2c00001, window 0x2c00001, from_configure NO
so, this UnmapNotify Event might work for you
and when the window is totally hidden, you get:
VisibilityNotify event, serial 18, synthetic NO, window 0x2c00001,
state VisibilityFullyObscured
and when I change to a different desktop as far as I can see,
I get that signal as well, you might want to try xev in different environments!
There's a really nice online Xlib manual at:
http://tronche.com/gui/x/xlib/
I found there functions to set icon names, sizes, but not a specific function
to check whether the window is minimized, don't know... I agree with you, a
WM guru is what you are looking for...
Carlos
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]