Public Attributes | |
barStyle | |
![]() | |
bounds | |
frameStyle | |
guiId | |
guiItem | |
ll | |
stateNodePath | |
ur | |
![]() | |
fInit | |
guiId | |
postInitialiseFuncList | |
Additional Inherited Members | |
![]() | |
tuple | DefDynGroups = ('text', 'geom', 'image') |
![]() | |
float | gridSpacing = 0.05 |
dictionary | guiDict = {} |
tuple | guiEdit = get_config_showbase() |
inactiveInitState = DGG.NORMAL | |
int | snapToGrid = 0 |
DirectWaitBar - A DirectWidget that shows progress completed towards a task.
def __init__ | ( | self, | |
parent = None , |
|||
kw | |||
) |
def destroy | ( | self | ) |
def finish | ( | self, | |
N = 10 |
|||
) |
Fill the bar in N frames. This call is blocking.
def getPercent | ( | self | ) |
Returns the percentage complete.
def setBarBorderWidth | ( | self | ) |
Updates the bar's border width, which you can set using bar['barBorderWidth'].
def setBarColor | ( | self | ) |
Updates the bar color, which you can set using bar['barColor'].
def setBarRelief | ( | self | ) |
Updates the bar relief, which you can set using bar['barRelief'].
def setBarTexture | ( | self | ) |
Updates the bar texture, which you can set using bar['barTexture'].
def setRange | ( | self | ) |
Updates the bar range which you can set using bar['range']. This is the value at which the WaitBar indicates 100%.
def setValue | ( | self | ) |
Updates the bar value which you can set using bar['value']. The value should range between 0 and bar['range'].
def update | ( | self, | |
value | |||
) |
Updates the bar with the given value and renders a frame.
def updateBarStyle | ( | self | ) |
barStyle |