from direct.gui.DirectEntryScroll import DirectEntryScroll
- class DirectEntryScroll(entry, parent=None, **kw)
- __init__(self, entry, parent=None, **kw)
detaches and unbinds the entry from the scroll frame and its events. You’ll be responsible for destroying it.
- cursorMove(self, cursorX, cursorY)
- setEntry(self, entry)
Sets a DirectEntry element for this scroll frame. A DirectEntryScroll can only hold one entry at a time, so make sure to not call this function twice or call clearEntry before to make sure no entry is already set.