[Gtk-sharp-list] Close Gtk Window
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:
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list