PGWaitBar
from panda3d.core import PGWaitBar
- class PGWaitBar
Bases:
Bases:
PGItem
This is a particular kind of
PGItem
that draws a little bar that fills from left to right to indicate a slow process gradually completing, like a traditional “wait, loading” bar.Inheritance diagram
- getBarStyle() PGFrameStyle
Returns the kind of frame that is drawn on top of the WaitBar to represent the amount completed.
- static getClassType() TypeHandle
- setBarStyle(style: PGFrameStyle)
Sets the kind of frame that is drawn on top of the WaitBar to represent the amount completed.
- setValue(value: float)
Sets the current value of the bar. This should range between 0 and
getRange()
.