简体   繁体   English

wxpython美丽的小部件

[英]wxpython beautiful widgets

As I was looking into the widget creations tutorial in wxpython. 当我查看wxpython中的小部件创建教程时。 I saw that all of them has the window look but I want a widget like the one you can see on windows 7 (clock widget etc.) or like the one advanced systemcare has. 我看到它们都具有窗口外观,但是我想要一个小部件,例如可以在Windows 7上看到的小部件(时钟小部件等),或者像一个高级systemcare一样。

So my question how can I make such a widget in wxpython if I can at all? 所以我的问题是,如果可以的话,如何在wxpython中制作这样的小部件?

wxPython will look like the OS's native widgets. wxPython看起来像操作系统的本机小部件。 If you need to do something more advanced, then you'll have to write your own widget. 如果您需要执行更高级的操作,则必须编写自己的小部件。 There are lots of examples of custom widgets included with wxPython. wxPython附带了许多自定义小部件的示例。 Take a look at anything in wx.lib.agw. 看看wx.lib.agw中的任何内容。 All of those are custom made widgets, written in Python. 所有这些都是使用Python编写的定制小部件。

Here are a couple of other links: 这是另外两个链接:

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

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