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().

*/

getDefaultClickSound()[source]
getDefaultDialogGeom()[source]
getDefaultDialogRelief()[source]
getDefaultDrawOrder()[source]
getDefaultFont()[source]
getDefaultPanel()[source]
getDefaultRolloverSound()[source]
setDefaultClickSound(newSound)[source]
setDefaultDialogGeom(newDialogGeom, relief=None)[source]
setDefaultDrawOrder(newDrawOrder)[source]
setDefaultFont(newFont)[source]

Changes the default font for DirectGUI items. To change the default font across the board, see TextProperties.set_default_font().

setDefaultFontFunc(newFontFunc)[source]
setDefaultPanel(newPanel)[source]
setDefaultRolloverSound(newSound)[source]