[Gtk-sharp-list] Gtk.Window, Always On Top?
Ben Motmans
Ben Motmans <ben.motmans@gmail.com>
Fri, 8 Apr 2005 22:57:48 +0200
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 window
> that's always on top?
>
someWindow.KeepAbove = true;
however, depending on the window manager, this can result in different behavior
do not use code that crashes/doesn't work if the window isn't on top
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();
or, you can use standard behaviors for different kind of windows
someWindow.TypeHint = WindowTypeHint.XXXXXX;
-- Ben