PGWaitBar

from panda3d.core import PGWaitBar
class PGWaitBar

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

Inheritance diagram of PGWaitBar

__init__(*args, **kwargs)
bar_style
getBarStyle()

C++ Interface: get_bar_style(PGWaitBar self)

/**
  • Returns the kind of frame that is drawn on top of the WaitBar to represent

  • the amount completed.

*/

getClassType()

C++ Interface: get_class_type()

getPercent()

C++ Interface: get_percent(PGWaitBar self)

/**
  • Returns the percentage complete.

*/

getRange()

C++ Interface: get_range(PGWaitBar self)

/**
  • Returns the value at which the WaitBar indicates 100%.

*/

getValue()

C++ Interface: get_value(PGWaitBar self)

/**
  • Returns the current value of the bar.

*/

get_bar_style()

C++ Interface: get_bar_style(PGWaitBar self)

/**
  • Returns the kind of frame that is drawn on top of the WaitBar to represent

  • the amount completed.

*/

get_class_type()

C++ Interface: get_class_type()

get_percent()

C++ Interface: get_percent(PGWaitBar self)

/**
  • Returns the percentage complete.

*/

get_range()

C++ Interface: get_range(PGWaitBar self)

/**
  • Returns the value at which the WaitBar indicates 100%.

*/

get_value()

C++ Interface: get_value(PGWaitBar self)

/**
  • Returns the current value of the bar.

*/

range
setBarStyle()

C++ Interface: set_bar_style(const PGWaitBar self, const PGFrameStyle style)

/**
  • Sets the kind of frame that is drawn on top of the WaitBar to represent the

  • amount completed.

*/

setRange()

C++ Interface: set_range(const PGWaitBar self, float range)

/**
  • Sets the value at which the WaitBar indicates 100%.

*/

setValue()

C++ Interface: set_value(const PGWaitBar self, float value)

/**
  • Sets the current value of the bar. This should range between 0 and

  • get_range().

*/

set_bar_style()

C++ Interface: set_bar_style(const PGWaitBar self, const PGFrameStyle style)

/**
  • Sets the kind of frame that is drawn on top of the WaitBar to represent the

  • amount completed.

*/

set_range()

C++ Interface: set_range(const PGWaitBar self, float range)

/**
  • Sets the value at which the WaitBar indicates 100%.

*/

set_value()

C++ Interface: set_value(const PGWaitBar self, float value)

/**
  • Sets the current value of the bar. This should range between 0 and

  • get_range().

*/

setup()

C++ Interface: setup(const PGWaitBar self, float width, float height, float range)

/**
  • Creates a PGWaitBar with the indicated dimensions, with the indicated

  • maximum range.

*/

value