Skip to content
Discussion options

You must be logged in to vote

how do I get the WIDTH and HEIGHT values?

These are values that your GUI manager tells you. You can e.g. ask wxPython what the physical screen size is, similar tkinter.
The code snippet I mentioned indeed works on the basis what the values of WIDTH and HEIGHT are known.
If you say you don't know them from your GUI manager, then I guess I don't really understand your poblem.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JorjMcKie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1315 on October 11, 2021 10:31.