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: DirectFrame

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

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

cursorMove(cursorX, cursorY)[source]
destroy()[source]
getCanvas()[source]
moveToCenterCursor()[source]
resetCanvas()[source]
setClipSize()[source]
setEntry(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.