[Gtk-sharp-list] Close Gtk Window

Marcin S msporysz06 at gmail.com
Sat Aug 11 15:56:10 UTC 2012


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  -  Gtk-sharp-list at lists.ximian.com <javascript:;>
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20120811/9b7f168a/attachment.html>


More information about the Gtk-sharp-list mailing list