direct.gui.DirectEntry

from direct.gui.DirectEntry import DirectEntry

Contains the DirectEntry class, a type of DirectGUI widget that accepts text entered using the keyboard.

See the DirectEntry page in the programming manual for a more in-depth explanation and an example of how to use this class.

Inheritance diagram

digraph inheritancec898578d3b { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "DirectEntry" [URL="direct.gui.DirectEntry.html#direct.gui.DirectEntry.DirectEntry",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="DirectEntry(parent) - Create a DirectGuiWidget which responds"]; "DirectFrame" -> "DirectEntry" [arrowsize=0.75,style=""]; "DirectFrame" [URL="direct.gui.DirectFrame.html#direct.gui.DirectFrame.DirectFrame",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "DirectGuiWidget" -> "DirectFrame" [arrowsize=0.75,style=""]; "DirectGuiBase" [URL="direct.gui.DirectGuiBase.html#direct.gui.DirectGuiBase.DirectGuiBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Base class of all DirectGUI widgets."]; "DirectObject" -> "DirectGuiBase" [arrowsize=0.75,style=""]; "DirectGuiWidget" [URL="direct.gui.DirectGuiBase.html#direct.gui.DirectGuiBase.DirectGuiWidget",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "DirectGuiBase" -> "DirectGuiWidget" [arrowsize=0.75,style=""]; "NodePath" -> "DirectGuiWidget" [arrowsize=0.75,style=""]; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "NodePath" [URL="acron.core.NodePath.html#acron.core.NodePath",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "NodePath" [arrowsize=0.75,style=""]; }
class DirectEntry(parent=None, **kw)[source]

Bases: DirectFrame

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

AllowCapNamePrefixes = ('Al', 'Ap', 'Ben', 'De', 'Del', 'Della', 'Delle', 'Der', 'Di', 'Du', 'El', 'Fitz', 'La', 'Las', 'Le', 'Les', 'Lo', 'Los', 'Mac', 'St', 'Te', 'Ten', 'Van', 'Von')
ForceCapNamePrefixes = ("D'", 'DeLa', "Dell'", "L'", "M'", 'Mc', "O'")
directWtext = 1