How can I set up a dedicated screen area for an application in Python?

孤者浪人 提交于 2019-12-03 16:40:26

The win32 feature you're looking for is called Application Desktop Toolbars - it allows your application to cooperate with the shell and reserve space along the side, similar to the taskbar.

If you want to implement this yourself, you'll likely need to use Win32 somehow.

It looks like there's a python wrapper for this, however: searching for python and appbar turned up wxAppBar which seems to be a python wrapper for it.

See the Microsoft documentation on "Windows" and "Window Features". This being windows-specific stuff, the only way to set these properties is using the Win32 API or similar.

The pywin32 module exposes the Win32 API to Python. There's even a tag!

Tkinter has very little control over the behavior of the rest of the windows on the OS. There's no built-in cross-platform function for this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!