Panda3D
Public Member Functions | Public Attributes

DirectScrolledFrame Class Reference

Inheritance diagram for DirectScrolledFrame:
DirectFrame DirectGuiWidget DirectGuiBase

List of all members.

Public Member Functions

def __init__
def commandFunc
def destroy
def getCanvas
def setAutoHideScrollBars
def setCanvasSize
def setManageScrollBars

Public Attributes

 canvas
 horizontalScroll
 verticalScroll

Detailed Description

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.

Constructor & Destructor Documentation

def __init__ (   self,
  parent = None,
  kw 
)

Reimplemented from DirectFrame.


Member Function Documentation

def commandFunc (   self)
def destroy (   self)

Reimplemented from DirectFrame.

def getCanvas (   self)
def setAutoHideScrollBars (   self)
def setCanvasSize (   self)
def setManageScrollBars (   self)

Member Data Documentation

 All Classes Namespaces Functions Variables Properties