Best way to determine user's screensize?
Grant Edwards
grant.b.edwards at gmail.com
Fri Oct 30 22:04:28 EDT 2020
On 2020-10-31, Chris Angelico <rosuav at gmail.com> wrote:
>
>> do you object to a window being put in the approximate
>> center of the screen?
>>
>
> If that's where my window manager chooses to put it, great! The
> application just says "I want a window of this size"
But let the widget/toolkit layout engine figure out the size. The
application developer should just specify what widgets are needed and
how they are to be arranged. The developer should _not_ be specifying
window sizes.
> and the window manager decides where that should go. The application
> doesn't.
Exactly. Don't try to override the window manager if I've configured
it to open your application in at certain location and/or a certain
window size. It's my computer.
More information about the Python-list
mailing list