direct.gui.DirectScrollBar

from direct.gui.DirectScrollBar import DirectScrollBar

Defines the DirectScrollBar class.

See the DirectScrollBar page in the programming manual for a more in-depth explanation and an example of how to use this class.

Inheritance diagram

Inheritance diagram of direct.gui.DirectScrollBar

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

Bases: DirectFrame

DirectScrollBar – a widget which represents a scroll bar the user can use for paging through a large document or panel.

__init__(self, parent=None, **kw)[source]
commandFunc(self)[source]
destroy(self)[source]
getRatio(self)[source]
getValue(self)[source]
scrollPage(self, pageCount)[source]

Scrolls the indicated number of pages forward. If pageCount is negative, scrolls backward.

scrollStep(self, stepCount)[source]

Scrolls the indicated number of steps forward. If stepCount is negative, scrolls backward.

setManageButtons(self)[source]
setOrientation(self)[source]
setPageSize(self)[source]
setRange(self)[source]
setResizeThumb(self)[source]
setScrollSize(self)[source]
setValue(self, value)[source]