direct.gui
This package contains the DirectGUI system, a set of classes responsible for drawing graphical widgets to the 2-D scene graph.
It is based on the lower-level PGui system, which is implemented in C++.
For convenience, all of the DirectGui widgets may be imported from a single module as follows:
from direct.gui.DirectGui import *
This module contains the DirectButton class. |
|
A DirectCheckButton is a type of button that toggles between two states when clicked. |
|
This module defines various dialog windows for the DirectGUI system. |
|
Contains the DirectEntry class, a type of DirectGUI widget that accepts text entered using the keyboard. |
|
A DirectFrame is a basic DirectGUI component that acts as the base class for various other components, and can also serve as a basic container to hold other DirectGUI components. |
|
Imports all of the DirectGUI classes. |
|
Base class for all DirectGui items. |
|
Global definitions used by Direct Gui Classes and handy constants that can be used during widget construction |
|
Undocumented Module |
|
Contains the DirectLabel class. |
|
Implements a pop-up menu containing multiple clickable options. |
|
A DirectRadioButton is a type of button that, similar to a DirectCheckButton, has a separate indicator and can be toggled between two states. |
|
Defines the DirectScrollBar class. |
|
Contains the DirectScrolledFrame class. |
|
Contains the DirectScrolledList class. |
|
Defines the DirectSlider class. |
|
Contains the DirectWaitBar class, a progress bar widget. |
|
OnscreenGeom module: contains the OnscreenGeom class |
|
OnscreenImage module: contains the OnscreenImage class. |
|
OnscreenText module: contains the OnscreenText class. |