[Gtk-sharp-list] How to get window state information?
lordphoenix at free.fr
Thu Jun 17 03:30:59 EDT 2010
Le 16/06/2010 01:14, Christopher David Howie a écrit :
> On 06/15/2010 02:33 PM, lorphoenix wrote:
>> Thanks you for help it's ok when my window is iconified but not if my
>> window is hidden behind others. I've made some test and GdkWindow.state
>> doesn't change if my window is behind others. I've looked for others
>> properties in GdkWindow but find nothing.
> That's because "completely obscured by other windows" is not a state,
> it's just the net effect of the positions of all of the open windows.
> If you want to know if your window is completely obscured then you will
> have to obtain all of the rectangles defining all of the desktop's
> windows' positions and sizes and compute the obscured regions of your
> window yourself.
OK I see… I'll do like that for now
Thanks for your help.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20100617/8b9eca2f/attachment.bin
More information about the Gtk-sharp-list