0

Windows users, generally, place the task bar at the bottom of the screen but occasionally place it to the left (vertical) and rarely at the top. I think, the .WorkingArea in C# takes care of this detail when asking for the usable dimensions of the screen. When using tkinter, I tempted to get the usable dimensions via .winfo_screenwidth & .winfo_screenheight() but those methods failed to take the location of the task bar into account.

Is there a way to detect the usable / visible dimensions of the screen in tkinter (or detect the location of the Windows task bar)?

ssd
  • 2,340
  • 5
  • 19
  • 37
  • Did you check the answers of [How to get the height of Windows Taskbar using Python/PyQT/Win32](https://stackoverflow.com/questions/4357258/how-to-get-the-height-of-windows-taskbar-using-python-pyqt-win32)? – Henry Yik Sep 02 '19 at 03:15
  • @ssd, there will be no `C#` in answers, because it is completely `python` question. Meanwhile `C#` users that will get to this question be tag will be frustrated. – vasily.sib Sep 02 '19 at 03:27
  • Possible duplicate of [How to get the height of Windows Taskbar using Python/PyQT/Win32](https://stackoverflow.com/questions/4357258/how-to-get-the-height-of-windows-taskbar-using-python-pyqt-win32) – j_4321 Sep 02 '19 at 12:54

0 Answers0