wx.BusyCursor¶This class makes it easy to tell your user that the program is temporarily busy.
Just create a wx.BusyCursor object on the stack, and within the current scope, the hourglass will be shown.
For example:
wait = wx.BusyCursor()
for i in xrange(10000):
DoACalculation()
del wait
It works by calling wx.BeginBusyCursor in the constructor, and wx.EndBusyCursor in the destructor.
See also
Class Hierarchy¶
Inheritance diagram for class BusyCursor:
Methods Summary¶Constructs a busy cursor object, calling |
|
Class API¶Possible constructors:
BusyCursor(cursor=HOURGLASS_CURSOR)
This class makes it easy to tell your user that the program is temporarily busy.
Constructs a busy cursor object, calling wx.BeginBusyCursor .
cursor (wx.Cursor) –