added enterText

This commit is contained in:
Darren Ranalli 2002-09-17 19:04:07 +00:00
parent 93d73a2b4e
commit c00e8a1926

View File

@ -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()))