On Tue, Aug 12, 2008 at 1:47 AM, Brett Senior <[EMAIL PROTECTED]> wrote: > Chris, > > I put the Application.Run() there so that the user can interact with the > window just created - win is a 'sub-window' and I thought that you needed to > do the Application.Run(). - I then use Application.Quit() in the > sub-window.
I believe you really want to be using Dialog as the parent class of your sub-windows. The Dialog.Run() method will similarly block until the dialog is closed or issues a response. What you are doing isn't wrong per se but it's a very unorthodox way of accomplishing this, especially given that a class already exists that encapsulates this behavior. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
