direct.gui.DirectEntryScroll

from direct.gui.DirectEntryScroll import DirectEntryScroll

Inheritance diagram

Inheritance diagram of direct.gui.DirectEntryScroll

class DirectEntryScroll(entry, parent=None, **kw)[source]

Bases: direct.gui.DirectFrame.DirectFrame

__init__(self, entry, parent=None, **kw)[source]
clearEntry(self)[source]

detaches and unbinds the entry from the scroll frame and its events. You’ll be responsible for destroying it.

cursorMove(self, cursorX, cursorY)[source]
destroy(self)[source]
getCanvas(self)[source]
moveToCenterCursor(self)[source]
resetCanvas(self)[source]
setClipSize(self)[source]
setEntry(self, entry)[source]

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.