Small control showing an animation indicating that the program is currently busy performing some background task.
New in version 4.1/wxWidgets-3.1.0.
Default constructor. |
|
Create the control initialized using the default constructor. |
|
Returns |
|
Starts animation of the indicator. |
|
Stops the animation of the indicator. |
wx.
ActivityIndicator
(Control)¶Possible constructors:
ActivityIndicator()
ActivityIndicator(parent, winid=ID_ANY, pos=DefaultPosition,
size=DefaultSize, style=0, name="activityindicator")
Small control showing an animation indicating that the program is currently busy performing some background task.
__init__
(self, *args, **kw)¶__init__ (self)
Default constructor.
Use Create
to really create the control after using this constructor.
__init__ (self, parent, winid=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=”activityindicator”)
Constructor fully creating the control.
The arguments have the usual meanings and only parent is typically required.
Create
(self, parent, winid=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name="activityindicator")¶Create the control initialized using the default constructor.
This method can be used to finish the control creation if it hadn’t been done already by using the non-default constructor.
GetClassDefaultAttributes
(variant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –
IsRunning
(self)¶Returns True
if the control is currently showing activity.
Returns False
initially, True
once Start
is called and False
again after calling Stop
.
bool
Start
(self)¶Starts animation of the indicator.
Does nothing if the indicator is already running.