Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
DirectScrollBar Class Reference
Inheritance diagram for DirectScrollBar:
DirectFrame DirectGuiWidget DirectGuiBase

Public Member Functions

def __init__
 
def commandFunc
 
def destroy
 
def getRatio
 
def getValue
 
def scrollPage
 
def scrollStep
 
def setManageButtons
 
def setOrientation
 
def setPageSize
 
def setRange
 
def setResizeThumb
 
def setScrollSize
 
def setValue
 
- Public Member Functions inherited from DirectFrame
def __init__
 
def destroy
 
def setGeom
 
def setImage
 
def setText
 
- Public Member Functions inherited from DirectGuiWidget
def __init__
 
def copyOptions
 
def destroy
 
def disableEdit
 
def editStart
 
def editStop
 
def enableEdit
 
def frameInitialiseFunc
 
def getBounds
 
def getCenter
 
def getFrameType
 
def getHeight
 
def getWidth
 
def guiDragTask
 
def guiScaleTask
 
def printConfig
 
def resetFrameSize
 
def setBorderUvWidth
 
def setBorderWidth
 
def setFrameColor
 
def setFrameSize
 
def setFrameTexture
 
def setFrameVisibleScale
 
def setProp
 
def setRelief
 
def setState
 
def taskName
 
def uniqueName
 
def updateFrameStyle
 
- Public Member Functions inherited from DirectGuiBase
def __init__
 
def __setitem__
 
def addoptions
 
def bind
 
def cget
 
def component
 
def components
 
def configure
 
def createcomponent
 
def defineoptions
 
def destroy
 
def destroycomponent
 
def hascomponent
 
def initialiseoptions
 
def isinitoption
 
def options
 
def postInitialiseFunc
 
def unbind
 

Public Attributes

 decButton
 
 incButton
 
 thumb
 
- Public Attributes inherited from DirectGuiWidget
 bounds
 
 frameStyle
 
 guiId
 
 guiItem
 
 ll
 
 stateNodePath
 
 ur
 
- Public Attributes inherited from DirectGuiBase
 fInit
 
 guiId
 
 postInitialiseFuncList
 

Additional Inherited Members

- Static Public Attributes inherited from DirectFrame
tuple DefDynGroups = ('text', 'geom', 'image')
 
- Static Public Attributes inherited from DirectGuiWidget
float gridSpacing = 0.05
 
dictionary guiDict = {}
 
tuple guiEdit = get_config_showbase()
 
 inactiveInitState = DGG.NORMAL
 
int snapToGrid = 0
 

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self,
  parent = None,
  kw 
)

Member Function Documentation

def commandFunc (   self)
def destroy (   self)
def getRatio (   self)
def getValue (   self)
def scrollPage (   self,
  pageCount 
)
Scrolls the indicated number of pages forward.  If
pageCount is negative, scrolls backward.
def scrollStep (   self,
  stepCount 
)
Scrolls the indicated number of steps forward.  If
stepCount is negative, scrolls backward.
def setManageButtons (   self)
def setOrientation (   self)
def setPageSize (   self)
def setRange (   self)
def setResizeThumb (   self)
def setScrollSize (   self)
def setValue (   self,
  value 
)

Member Data Documentation

decButton
incButton
thumb