简体   繁体   English

如何创建附加到顶部并移动桌面大小的wxpython应用程序,如任务栏?

[英]How to create wxpython app that attach to top and shift desktop size, like Taskbar?

I am using WxPython (phoenix), and at the moment trying to create Taskbar replacement in Windows 10, always on top, and at the top edge of the screen. 我正在使用WxPython(凤凰),并且目前尝试在Windows 10中创建任务栏替换,始终在屏幕顶部和顶部边缘。 Surely, it will make my app cover window beneath it. 当然,它会让我的应用程序覆盖它下面的窗口。

How do I make the desktop shrink to allow my app attach itself to the top edge of the screen? 如何让桌面缩小以允许我的应用程序将自身附加到屏幕的上边缘?

Woops, sorry, doing a quick google, I found this: https://github.com/sabren/ceomatic/blob/master/wxappbars.py Woops,抱歉,快速google,我发现了这个: https//github.com/sabren/ceomatic/blob/master/wxappbars.py

Only need to change for has_key error and GetMetrics to wx.SystemSettings.GetMetric per Phoenix changes 只需将has_key错误和GetMetrics更改为每个Phoenix更改的wx.SystemSettings.GetMetric

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM