PGWaitBar
from panda3d.core import PGWaitBar
- class PGWaitBar
Bases:
Bases:
PGItemThis is a particular kind of
PGItemthat 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
- property bar_style PGFrameStyle
Returns/Sets the kind of frame that is drawn on top of the WaitBar to represent represent /the the/ amount completed.
- 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().
- setup(width: float, height: float, range: float)
Creates a
PGWaitBarwith the indicated dimensions, with the indicated maximum range.
- property value float
- Getter
Returns the current value of the bar.
- Setter
Sets the current value of the bar. This should range between 0 and
get_range().
