Panda3D
|
Functions | |
def | getDefaultClickSound () |
def | getDefaultDialogGeom () |
def | getDefaultDialogRelief () |
def | getDefaultDrawOrder () |
def | getDefaultFont () |
def | getDefaultPanel () |
def | getDefaultRolloverSound () |
def | setDefaultClickSound (newSound) |
def | setDefaultDialogGeom (newDialogGeom, relief=None) |
def | setDefaultDrawOrder (newDrawOrder) |
def | setDefaultFont (newFont) |
def | setDefaultFontFunc (newFontFunc) |
def | setDefaultPanel (newPanel) |
def | setDefaultRolloverSound (newSound) |
Global definitions used by Direct Gui Classes and handy constants that can be used during widget construction
def direct.gui.DirectGuiGlobals.getDefaultClickSound | ( | ) |
def direct.gui.DirectGuiGlobals.getDefaultDialogGeom | ( | ) |
def direct.gui.DirectGuiGlobals.getDefaultDialogRelief | ( | ) |
def direct.gui.DirectGuiGlobals.getDefaultDrawOrder | ( | ) |
def direct.gui.DirectGuiGlobals.getDefaultFont | ( | ) |
def direct.gui.DirectGuiGlobals.getDefaultPanel | ( | ) |
def direct.gui.DirectGuiGlobals.getDefaultRolloverSound | ( | ) |
def direct.gui.DirectGuiGlobals.setDefaultClickSound | ( | newSound | ) |
def direct.gui.DirectGuiGlobals.setDefaultDialogGeom | ( | newDialogGeom, | |
relief = None |
|||
) |
def direct.gui.DirectGuiGlobals.setDefaultDrawOrder | ( | newDrawOrder | ) |
def direct.gui.DirectGuiGlobals.setDefaultFont | ( | newFont | ) |
def direct.gui.DirectGuiGlobals.setDefaultFontFunc | ( | newFontFunc | ) |
def direct.gui.DirectGuiGlobals.setDefaultPanel | ( | newPanel | ) |
def direct.gui.DirectGuiGlobals.setDefaultRolloverSound | ( | newSound | ) |
string ACCEPT = PGEntry.getAcceptPrefix() + KeyboardButton.enter().getName() + '-' |
string ACCEPTFAILED = PGEntry.getAcceptFailedPrefix() + KeyboardButton.enter().getName() + '-' |
ADJUST = PGSliderBar.getAdjustPrefix() |
string B1CLICK = PGButton.getClickPrefix() + MouseButton.one().getName() + '-' |
string B1PRESS = PGButton.getPressPrefix() + MouseButton.one().getName() + '-' |
string B1RELEASE = PGButton.getReleasePrefix() + MouseButton.one().getName() + '-' |
string B2CLICK = PGButton.getClickPrefix() + MouseButton.two().getName() + '-' |
string B2PRESS = PGButton.getPressPrefix() + MouseButton.two().getName() + '-' |
string B2RELEASE = PGButton.getReleasePrefix() + MouseButton.two().getName() + '-' |
string B3CLICK = PGButton.getClickPrefix() + MouseButton.three().getName() + '-' |
string B3PRESS = PGButton.getPressPrefix() + MouseButton.three().getName() + '-' |
string B3RELEASE = PGButton.getReleasePrefix() + MouseButton.three().getName() + '-' |
int BACKGROUND_SORT_INDEX = -100 |
BUTTON_DEPRESSED_STATE = PGButton.SDepressed |
BUTTON_INACTIVE_STATE = PGButton.SInactive |
BUTTON_READY_STATE = PGButton.SReady |
BUTTON_ROLLOVER_STATE = PGButton.SRollover |
CURSORMOVE = PGEntry.getCursormovePrefix() |
defaultClickSound = None |
defaultDialogGeom = None |
defaultDialogRelief = PGFrameStyle.TBevelOut |
defaultFont = None |
defaultFontFunc = TextNode.getDefaultFont |
defaultRolloverSound = None |
string DESTROY = 'destroy-' |
int DIALOG_CANCEL = -1 |
int DIALOG_NO = 0 |
int DIALOG_OK = 1 |
string DISABLED = 'disabled' |
int drawOrder = 100 |
ENTER = PGButton.getEnterPrefix() |
ERASE = PGEntry.getErasePrefix() |
EXIT = PGButton.getExitPrefix() |
int FADE_SORT_INDEX = 1000 |
FLAT = PGFrameStyle.TFlat |
int FOREGROUND_SORT_INDEX = 100 |
dictionary FrameStyleDict |
int GEOM_SORT_INDEX = 20 |
GROOVE = PGFrameStyle.TGroove |
string HORIZONTAL = 'horizontal' |
int IMAGE_SORT_INDEX = 10 |
list INITOPT = ['initopt'] |
int LMB = 0 |
int MIDGROUND_SORT_INDEX = 0 |
int MMB = 1 |
int NO_FADE_SORT_INDEX = 2000 |
string NORMAL = 'normal' |
OVERFLOW = PGEntry.getOverflowPrefix() |
panel = None |
string PRINT = 'print-' |
RAISED = PGFrameStyle.TBevelOut |
RIDGE = PGFrameStyle.TRidge |
int RMB = 2 |
SUNKEN = PGFrameStyle.TBevelIn |
int TEXT_SORT_INDEX = 30 |
TEXTUREBORDER = PGFrameStyle.TTextureBorder |
TYPE = PGEntry.getTypePrefix() |
string VERTICAL = 'vertical' |
string VERTICAL_INVERTED = 'vertical_inverted' |
WITHIN = PGButton.getWithinPrefix() |
WITHOUT = PGButton.getWithoutPrefix() |