direct.gui.DirectButton
from direct.gui.DirectButton import DirectButton
This module contains the DirectButton class.
See the DirectButton page in the programming manual for a more in-depth explanation and an example of how to use this class.
Inheritance diagram
- class DirectButton(parent=None, **kw)[source]
Bases:
DirectFrame
DirectButton(parent) - Create a DirectGuiWidget which responds to mouse clicks and execute a callback function if defined