added enterText
This commit is contained in:
parent
93d73a2b4e
commit
c00e8a1926
|
|
@ -156,5 +156,7 @@ class DirectEntry(DirectFrame):
|
|||
else:
|
||||
self.guiItem.setCursorPosition(pos)
|
||||
|
||||
|
||||
|
||||
def enterText(self, text):
|
||||
""" sets the entry's text, and moves the cursor to the end """
|
||||
self.set(text)
|
||||
self.setCursorPosition(len(self.get()))
|
||||
|
|
|
|||
Loading…
Reference in New Issue