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

Jesus Eguiluz jeguiluz at andeselec.com
Tue Oct 18 07:30:02 EDT 2011

Hello I think that the correct event is "DeleteEvent" this is triggered 
when you click the "x"  in the windows.


Jesus Eguiluz
Ingeniero Electrónico.
Investigación y Desarrollo
Andes Electrónica Ltda.

El 18-10-2011 6:18, TheSHEEEP escribió:
> Hey,
> 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.
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

More information about the Gtk-sharp-list mailing list