Try calling HideAll() method on secondary window.
W dniu wtorek, 7 sierpnia 2012 użytkownik Mixim napisał:
> 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.
> _______________________________________________
> Gtk-sharp-list maillist - [email protected] <javascript:;>
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list