direct.gui.DirectScrolledFrame
from direct.gui.DirectScrolledFrame import DirectScrolledFrame
Contains the DirectScrolledFrame class.
See the DirectScrolledFrame page in the programming manual for a more in-depth explanation and an example of how to use this class.
Inheritance diagram
- class DirectScrolledFrame(parent=None, **kw)[source]
Bases:
DirectFrame
DirectScrolledFrame – a special frame that uses DirectScrollBar to implement a small window (the frameSize) into a potentially much larger virtual canvas (the canvasSize, scrolledFrame.getCanvas()).
Unless specified otherwise, scroll bars are automatically created and managed as needed, based on the relative sizes od the frameSize and the canvasSize. You can also set manageScrollBars = 0 and explicitly position and hide or show the scroll bars yourself.