On Tue, Aug 12, 2008 at 11:48 PM, Brett Senior <[EMAIL PROTECTED]> wrote: > Chris, > > The reason I use the Window class is that I want to use the GUI designer > in MonoDevelop as well as the fact that some of the windows that I use are > also in use as stand-alone applications. I don't think that it will be easy > (or even possible) to sub-class the windows to the dialog class and still > have things working the way that I want them to. When you use the 'modal = > true' member it blocks until the user dismisses the window, so that > behaviour is exactly what I want - it is only the window position that I am > having problems with. > > Brett Senior.
I believe that the preferred way of approaching this is to create a widget containing all of the dialog widgets that you need and drop that widget on a Window or Dialog as you need it. This is, I believe, what MonoDevelop does. Then if you change your UI design later by, for example, merging a bunch of windows into a notebook you can do so very quickly by re-using the widgets you have. -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list