parent
2347587077
commit
f2cf391a2e
|
|
@ -59,6 +59,8 @@ class DirectEntry(DirectFrame):
|
|||
# Text used for the PGEntry text node
|
||||
# NOTE: This overrides the DirectFrame text option
|
||||
('initialText', '', DGG.INITOPT),
|
||||
# Enable or disable text overflow scrolling
|
||||
('overflow', 0, self.setOverflowMode),
|
||||
# Command to be called on hitting Enter
|
||||
('command', None, None),
|
||||
('extraArgs', [], None),
|
||||
|
|
@ -159,6 +161,9 @@ class DirectEntry(DirectFrame):
|
|||
def setCursorKeysActive(self):
|
||||
PGEntry.setCursorKeysActive(self.guiItem, self['cursorKeys'])
|
||||
|
||||
def setOverflowMode(self):
|
||||
PGEntry.set_overflow_mode(self.guiItem, self['overflow'])
|
||||
|
||||
def setObscureMode(self):
|
||||
PGEntry.setObscureMode(self.guiItem, self['obscured'])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue