Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
DirectEntry Class Reference
Inheritance diagram for DirectEntry:
DirectFrame DirectGuiWidget DirectGuiBase

Public Member Functions

def __init__
 
def autoCapitalizeFunc
 
def commandFunc
 
def destroy
 
def enterText
 
def failedCommandFunc
 
def focusInCommandFunc
 
def focusOutCommandFunc
 
def get
 
def getBounds
 
def getFont
 
def set
 
def setBackgroundFocus
 
def setClickSound
 
def setCursorKeysActive
 
def setCursorPosition
 
def setFocus
 
def setObscureMode
 
def setRolloverSound
 
def setup
 
- Public Member Functions inherited from DirectFrame
def __init__
 
def destroy
 
def setGeom
 
def setImage
 
def setText
 
- Public Member Functions inherited from DirectGuiWidget
def __init__
 
def copyOptions
 
def destroy
 
def disableEdit
 
def editStart
 
def editStop
 
def enableEdit
 
def frameInitialiseFunc
 
def getBounds
 
def getCenter
 
def getFrameType
 
def getHeight
 
def getWidth
 
def guiDragTask
 
def guiScaleTask
 
def printConfig
 
def resetFrameSize
 
def setBorderUvWidth
 
def setBorderWidth
 
def setFrameColor
 
def setFrameSize
 
def setFrameTexture
 
def setFrameVisibleScale
 
def setProp
 
def setRelief
 
def setState
 
def taskName
 
def uniqueName
 
def updateFrameStyle
 
- Public Member Functions inherited from DirectGuiBase
def __init__
 
def __setitem__
 
def addoptions
 
def bind
 
def cget
 
def component
 
def components
 
def configure
 
def createcomponent
 
def defineoptions
 
def destroy
 
def destroycomponent
 
def hascomponent
 
def initialiseoptions
 
def isinitoption
 
def options
 
def postInitialiseFunc
 
def unbind
 

Public Attributes

 autoCapitalizeAllowPrefixes
 
 autoCapitalizeForcePrefixes
 
 bounds
 
 ll
 
 onscreenText
 
 unicodeText
 
 ur
 
- Public Attributes inherited from DirectGuiWidget
 bounds
 
 frameStyle
 
 guiId
 
 guiItem
 
 ll
 
 stateNodePath
 
 ur
 
- Public Attributes inherited from DirectGuiBase
 fInit
 
 guiId
 
 postInitialiseFuncList
 

Static Public Attributes

tuple AllowCapNamePrefixes
 
tuple directWtext = ConfigVariableBool('direct-wtext', 1)
 
tuple ForceCapNamePrefixes = ("D'", "DeLa", "Dell'", "L'", "M'", "Mc", "O'", )
 
- Static Public Attributes inherited from DirectFrame
tuple DefDynGroups = ('text', 'geom', 'image')
 
- Static Public Attributes inherited from DirectGuiWidget
float gridSpacing = 0.05
 
dictionary guiDict = {}
 
tuple guiEdit = get_config_showbase()
 
 inactiveInitState = DGG.NORMAL
 
int snapToGrid = 0
 

Detailed Description

DirectEntry(parent) - Create a DirectGuiWidget which responds
to keyboard buttons

Constructor & Destructor Documentation

def __init__ (   self,
  parent = None,
  kw 
)

Member Function Documentation

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)

Member Data Documentation

tuple AllowCapNamePrefixes
static
Initial value:
1 = ("Al", "Ap", "Ben", "De", "Del", "Della", "Delle", "Der", "Di", "Du",
2  "El", "Fitz", "La", "Las", "Le", "Les", "Lo", "Los",
3  "Mac", "St", "Te", "Ten", "Van", "Von", )
autoCapitalizeAllowPrefixes
autoCapitalizeForcePrefixes
bounds
tuple directWtext = ConfigVariableBool('direct-wtext', 1)
static
tuple ForceCapNamePrefixes = ("D'", "DeLa", "Dell'", "L'", "M'", "Mc", "O'", )
static
ll
onscreenText
unicodeText
ur