direct.gui.DirectLabel

from direct.gui.DirectLabel import DirectLabel

Contains the DirectLabel class.

See the DirectLabel page in the programming manual for a more in-depth explanation and an example of how to use this class.

Inheritance diagram

Inheritance diagram of direct.gui.DirectLabel

class DirectLabel(parent=None, **kw)[source]

Bases: DirectFrame

DirectLabel(parent) - Create a DirectGuiWidget which has multiple states. User explicitly chooses a state to display

__init__(self, parent=None, **kw)[source]
setActiveState(self)[source]

setActiveState - change label to specifed state