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__(parent=None, **kw)[source]
commandFunc()[source]
destroy()[source]
getRatio()[source]
getValue()[source]
scrollPage(pageCount)[source]

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

scrollStep(stepCount)[source]

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

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