Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 Python 和 PythonCard 更改鼠标光标以指示等待状态?
我在文档中没有看到任何内容。
PythonCard 建立在 wx 之上,因此如果您导入 wx,您应该能够构建一个合适的光标(例如 with ),在等待开始时wx.CursorFromImage设置它(例如 with ),并在等待结束时结束它(with )。wx.BeginBusyCursorwx.EndBusyCursor
wx.CursorFromImage
wx.BeginBusyCursor
wx.EndBusyCursor