Glade/Python - positioning main window at startup

mbg1708 at planetmail.com mbg1708 at planetmail.com
Wed Dec 31 06:52:06 EST 2014


On Tuesday, 30 December 2014 17:56:56 UTC, Cousin Stanley  wrote:
> > ....
> > Problem: Can anyone help me find settings (either in Glade or elsewhere) 
> > which will start the application window with the application window center 
> > aligned with the desktop center ?
> 
>   You might try the following entry
>   in your  .glade  file .... 
> 
>      <property name="window_position">center</property>
> 
> -- 
> Stanley C. Kitching
> Human Being
> Phoenix, Arizona

Neither "center" nor "center-on-parent" have the desired effect.  Both are offered in a Glade drop-down list, so manual edits of the XML are not needed.

Mary



More information about the Python-list mailing list