Public Attributes | |
autoCapitalizeAllowPrefixes | |
autoCapitalizeForcePrefixes | |
bounds | |
ll | |
onscreenText | |
unicodeText | |
ur | |
![]() | |
bounds | |
frameStyle | |
guiId | |
guiItem | |
ll | |
stateNodePath | |
ur | |
![]() | |
fInit | |
guiId | |
postInitialiseFuncList | |
Static Public Attributes | |
tuple | AllowCapNamePrefixes |
tuple | directWtext = ConfigVariableBool('direct-wtext', 1) |
tuple | ForceCapNamePrefixes = ("D'", "DeLa", "Dell'", "L'", "M'", "Mc", "O'", ) |
![]() | |
tuple | DefDynGroups = ('text', 'geom', 'image') |
![]() | |
float | gridSpacing = 0.05 |
dictionary | guiDict = {} |
tuple | guiEdit = get_config_showbase() |
inactiveInitState = DGG.NORMAL | |
int | snapToGrid = 0 |
DirectEntry(parent) - Create a DirectGuiWidget which responds to keyboard buttons
def __init__ | ( | self, | |
parent = None , |
|||
kw | |||
) |
def autoCapitalizeFunc | ( | self | ) |
def commandFunc | ( | self, | |
event | |||
) |
def destroy | ( | self | ) |
def enterText | ( | self, | |
text | |||
) |
sets the entry's text, and moves the cursor to the end
def failedCommandFunc | ( | self, | |
event | |||
) |
def focusInCommandFunc | ( | self | ) |
def focusOutCommandFunc | ( | self | ) |
def get | ( | self, | |
plain = False |
|||
) |
Returns the text currently showing in the typable region. If plain is True, the returned text will not include any formatting characters like nested color-change codes.
def getBounds | ( | self, | |
state = 0 |
|||
) |
def getFont | ( | self | ) |
def set | ( | self, | |
text | |||
) |
Changes the text currently showing in the typable region; does not change the current cursor position. Also see enterText().
def setBackgroundFocus | ( | self | ) |
def setClickSound | ( | self | ) |
def setCursorKeysActive | ( | self | ) |
def setCursorPosition | ( | self, | |
pos | |||
) |
def setFocus | ( | self | ) |
def setObscureMode | ( | self | ) |
def setRolloverSound | ( | self | ) |
def setup | ( | self | ) |
|
static |
autoCapitalizeAllowPrefixes |
autoCapitalizeForcePrefixes |
bounds |
|
static |
|
static |
ll |
onscreenText |
unicodeText |
ur |