direct.gui.DirectCheckBox
from direct.gui.DirectCheckBox import DirectCheckBox
Inheritance diagram
- class DirectCheckBox(parent=None, **kw)[source]
Bases:
DirectButton
DirectCheckBox(parent) - Create a DirectGuiWidget which responds to mouse clicks by setting a state of True or False and executes a callback function if defined.
Uses an image swap rather than a text change to indicate state.