Help with display placement

Samantha samantha7395 at hotmail.com
Tue Apr 4 15:44:21 EDT 2006


Thanks, think I have it now.
S
<akameswaran at gmail.com> wrote in message 
news:1144170334.755700.221220 at u72g2000cwu.googlegroups.com...
> Ok so I'm not to bright sometimes
>
> Well if you want this kinda control I suggest you go ahead and subclass
> toplevel, but the simple answer before running
>
> root.mainloop()
>
>
> make a call to
>
> root.geometry(geometryString)
>
>
>
> geoometrystring is in the format WxH+X+Y  - you may hve to do some
> screen calcs first to get the right numbers.  ie "50x100+50+50" create
> a  50pix by 100 pix window offset 50 from the top and 50 from the left.
>
> To my mind, better to subclass toplevel and set everything in there -
> but's mostly stylistic preference for something this simple.
>
> And while I'm making suggestions ;)  Try wxPython.  I used tKinter for
> about 3 months before tossing it in frustration when I wanted to do
> somtheing "slick" , but I have a lot of fondness for some quick and
> dirty UI's I did in tKinter a ways back.
> 





More information about the Python-list mailing list