[MonoDevelop] Does MD take notice of the WIndowPosition argument - either in code or via the GUI designer ?

Mike Kestner mkestner at gmail.com
Thu Aug 14 11:17:00 EDT 2008


On Thu, 2008-08-14 at 02:52 -0700, Brett Senior wrote:
> Michael,
> 
>     Have not yet tried your suggestion re Dialog.Run() as I have been
> looking further into the matter.  What I've found is that all of my MD
> applications start in the top left corner and not in the centre as I
> have set in the MD designer.  I have re-installed pretty well
> everything and it is still a problem.  Is there any configuration item
> that either needs to be set or I should not have set that would impact
> on window placement ?

Window placement can also be impacted by the window manager.  Window
managers are free to choose which properties they honor, so if you are
using a non-mainstream window manager, that could be an issue as well.

As has been pointed out in previous messages on across the multiple
lists you are posting to, using a Gtk.Dialog and the Run method is the
recommended way to implement modal child windows in Gtk.  Calling
Application.Run multiple times in an application is not correct.
Dialog.Run does the nitty-gritty of setting up a correctly nested
mainloop.

Mike
> 



More information about the Monodevelop-list mailing list