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
- get_bar_style() PGFrameStyle
Returns the kind of frame that is drawn on top of the WaitBar to represent the amount completed.
- static get_class_type() TypeHandle
- set_bar_style(style: PGFrameStyle)
Sets the kind of frame that is drawn on top of the WaitBar to represent the amount completed.
- set_value(value: float)
Sets the current value of the bar. This should range between 0 and
get_range()
.