mail-archives/gtk-sharp-list/2010-June/010346.html

81 строка
3.6 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:02:55 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] How to get window state information?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20How%20to%20get%20window%20state%20information%3F&In-Reply-To=4C18095B.5010804%40chrishowie.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010344.html">
<LINK REL="Next" HREF="010345.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] How to get window state information?</H1>
<B>lorphoenix</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20How%20to%20get%20window%20state%20information%3F&In-Reply-To=4C18095B.5010804%40chrishowie.com"
TITLE="[Gtk-sharp-list] How to get window state information?">lordphoenix at free.fr
</A><BR>
<I>Thu Jun 17 03:30:59 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="010344.html">[Gtk-sharp-list] How to get window state information?
</A></li>
<LI>Next message: <A HREF="010345.html">[Gtk-sharp-list] C#/Mono and GNOME 3.0
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10346">[ date ]</a>
<a href="thread.html#10346">[ thread ]</a>
<a href="subject.html#10346">[ subject ]</a>
<a href="author.html#10346">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Le 16/06/2010 01:14, Christopher David Howie a &#233;crit :
&gt;<i> On 06/15/2010 02:33 PM, lorphoenix wrote:
</I>&gt;&gt;<i> Thanks you for help it's ok when my window is iconified but not if my
</I>&gt;&gt;<i> window is hidden behind others. I've made some test and GdkWindow.state
</I>&gt;&gt;<i> doesn't change if my window is behind others. I've looked for others
</I>&gt;&gt;<i> properties in GdkWindow but find nothing.
</I>&gt;<i>
</I>&gt;<i> That's because &quot;completely obscured by other windows&quot; is not a state,
</I>&gt;<i> it's just the net effect of the positions of all of the open windows.
</I>&gt;<i> If you want to know if your window is completely obscured then you will
</I>&gt;<i> have to obtain all of the rectangles defining all of the desktop's
</I>&gt;<i> windows' positions and sizes and compute the obscured regions of your
</I>&gt;<i> window yourself.
</I>&gt;<i>
</I>OK I see&#8230; I'll do like that for now
Thanks for your help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : <A HREF="http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20100617/8b9eca2f/attachment.bin">http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20100617/8b9eca2f/attachment.bin</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010344.html">[Gtk-sharp-list] How to get window state information?
</A></li>
<LI>Next message: <A HREF="010345.html">[Gtk-sharp-list] C#/Mono and GNOME 3.0
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10346">[ date ]</a>
<a href="thread.html#10346">[ thread ]</a>
<a href="subject.html#10346">[ subject ]</a>
<a href="author.html#10346">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>