direct.gui.DirectGuiGlobals
import direct.gui.DirectGuiGlobals
Global definitions used by Direct Gui Classes and handy constants that can be used during widget construction
- INITOPT = ['initopt']
Constant used to indicate that an option can only be set by a call to the constructor.
- defaultFontFunc()
C++ Interface: get_default_font()
- /**
Specifies the default font to be used for any TextNode whose font is
uninitialized or NULL. See set_font().
*/
- setDefaultFont(newFont)[source]
Changes the default font for DirectGUI items. To change the default font across the board, see
TextProperties.setDefaultFont()
.