[Gtk-sharp-list] Close Gtk Window

Mixim mixim33 at yandex.ru
Tue Aug 7 08:44:24 UTC 2012

I have 2 fullscreen window in my Gtk# application, primary and secondary. I
have buttonClose in second form's that click event handler must close this
window and make some operation:
    protected void OnButtonClose_Clicked (object sender, EventArgs e)
        //some operation

        //cann't find Close method for Gtk# window
        this.Dispose ();                        
But window doesn't close! If I use this code in Primary window, that window
will close and application will terminate. Why this code works for primary
window and doesn't works for secondary? How can I close secondary window?

View this message in context: http://mono.1490590.n4.nabble.com/Close-Gtk-Window-tp4650782.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list