[Gtk-sharp-list] KeepAbove? is there a "always ontop"?

Dan Winship danw@novell.com
Wed, 26 Jan 2005 09:44:01 -0500


On Wed, 2005-01-26 at 04:58 +0200, Gert Burger wrote:
> Im busy writing a program which need atleast one window to be the
> topmost always, atleast when the program is active and maximized.
> 
> Another requirement is that the parent window or main application window
> must still be able to accept user input via mouse events etc(which are
> meant for the parent window).
> 
> Therefore modals seem out of the question, is there another way?

Yes. Check out the Gtk.Window.TypeHint property:

http://www.go-mono.com/docs/index.aspx?link=P%3aGtk.Window.TypeHint

I think you probably want to set it to Gdk.WindowTypeHint.Utility.

-- Dan