[Gtk-sharp-list] How to make a window unclosable?

TheSHEEEP thesheeep2 at web.de
Tue Oct 18 05:18:11 EDT 2011


I'm pretty new to gtk# (using MonoDevelop).

I would like to have an application which consists of two windows. The main
window should behave normal, but the second one should be floating around
freely. Now this 2nd window should not be closable by any means (except
closing the main window).

How can I create the window in a way that it does not have the closing "X"
button in its top bar?

I tried overriding the Destroy() and OnDestroy() functions, but that did not
achieve anything.

View this message in context: http://mono.1490590.n4.nabble.com/How-to-make-a-window-unclosable-tp3914696p3914696.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list