简体   繁体   English

如何用python,是否用Tkinter而不是在矩形窗口内制作图形?

[英]How to make graphic with python, Tkinter or not, not inside the rectangular window?

例如,像那些在屏幕上行走的人像,或者没有限制在矩形窗口内的任何图形甚至是交互式的那些小工具?

The trick is to do a transparent window and hide the title bar both are feasible with most graphic library but will be rarely cross platform 诀窍是做一个透明的窗口并隐藏标题栏,这对于大多数图形库都是可行的,但很少跨平台使用

I will advise you to look at this question to hide the title bar with tkinter 我建议您看一下这个问题 ,用tkinter隐藏标题栏

Tkinter doesn't support transparency so you may need to use wxPython instead Tkinter不支持透明性,因此您可能需要使用wxPython来代替

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

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