[Gtk-sharp-list] Gtk.Window, Always On Top?

Sergio Duran Sergio Duran <sergioduran@gmail.com>
Sat, 9 Apr 2005 13:02:35 -0500


------=_Part_369_4359789.1113069755586
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm on windows,I had already tried the KeepAbove and TypeHint=3DUtility, bu=
t=20
its not always on top, does it work on windows?

On Apr 8, 2005 3:57 PM, Ben Motmans <ben.motmans@gmail.com> wrote:
>=20
> On Apr 8, 2005 6:52 PM, Sergio Duran <sergioduran@gmail.com> wrote:
> > Hello everybody, I have a simple question, is there a way to create a=
=20
> window
> > that's always on top?
> >
> someWindow.KeepAbove =3D true;
> however, depending on the window manager, this can result in different=20
> behavior
> do not use code that crashes/doesn't work if the window isn't on top
>=20
> or if you just want to raise a window to the top, but don't want it to
> be there allways, you can use
> someWindow.Present();
>=20
> or, you can use standard behaviors for different kind of windows
> someWindow.TypeHint =3D WindowTypeHint.XXXXXX;
>=20
> -- Ben
>

------=_Part_369_4359789.1113069755586
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm on windows,I had already tried the KeepAbove and TypeHint=3DUtility, bu=
t its not always on top, does it work on windows?<br><br><div><span class=
=3D"gmail_quote">On Apr 8, 2005 3:57 PM, <b class=3D"gmail_sendername">Ben =
Motmans</b> &lt;<a href=3D"mailto:ben.motmans@gmail.com">ben.motmans@gmail.=
com</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-=
left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left=
: 1ex;">On Apr 8, 2005 6:52 PM, Sergio Duran &lt;<a href=3D"mailto:sergiodu=
ran@gmail.com">sergioduran@gmail.com</a>&gt; wrote:<br>&gt; Hello everybody=
, I have a simple question, is there a way to create a window<br>&gt; that'=
s always on top?<br>&gt;<br>someWindow.KeepAbove =3D true;<br>however, depe=
nding on the window manager, this can result in different behavior<br>do no=
t use code that crashes/doesn't work if the window isn't on top<br><br>or i=
f you just want to raise a window to the top, but don't want it to<br>be th=
ere allways, you can use<br>someWindow.Present();<br><br>or, you can use st=
andard behaviors for different kind of windows<br>someWindow.TypeHint =3D W=
indowTypeHint.XXXXXX;<br><br>-- Ben<br></blockquote></div><br>
------=_Part_369_4359789.1113069755586--