Best way to determine user's screensize?

Grant Edwards grant.b.edwards at gmail.com
Sat Oct 31 11:17:36 EDT 2020


On 2020-10-31, Peter J. Holzer <hjp-python at hjp.at> wrote:

> You still haven't answered the question: Where should the initial window
> size come from?

The GUI toolkit used by the application calculates a "desired" window
size based on the widgets and layout constraints. That desire is
passed to the window manager, and the window manager then decides
what the winow size is.

> Does your window manager tell the application how large a window
> should be?

Yes.

> And if it does, can you as a user configure that?

Yes.

> I don't think mine (xfce) does that. (I guess tiling WMs generally
> do that, but I've never used one.)

--
Grant





More information about the Python-list mailing list