direct.gui.DirectCheckBox

from direct.gui.DirectCheckBox import DirectCheckBox

Inheritance diagram

Inheritance diagram of direct.gui.DirectCheckBox

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

Bases: direct.gui.DirectButton.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.

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