Public Attributes | |
currentSelected | |
decButton | |
decButtonCallback | |
forceHeight | |
incButton | |
incButtonCallback | |
index | |
itemFrame | |
maxHeight | |
nextItemID | |
numItemsVisible | |
scrollSpeed | |
![]() | |
bounds | |
frameStyle | |
guiId | |
guiItem | |
ll | |
stateNodePath | |
ur | |
![]() | |
fInit | |
guiId | |
postInitialiseFuncList | |
Static Public Attributes | |
tuple | notify = DirectNotifyGlobal.directNotify.newCategory("DirectScrolledList") |
![]() | |
tuple | DefDynGroups = ('text', 'geom', 'image') |
![]() | |
float | gridSpacing = 0.05 |
dictionary | guiDict = {} |
tuple | guiEdit = get_config_showbase() |
inactiveInitState = DGG.NORMAL | |
int | snapToGrid = 0 |
def __init__ | ( | self, | |
parent = None , |
|||
kw | |||
) |
def addItem | ( | self, | |
item, | |||
refresh = 1 |
|||
) |
Add this string and extraArg to the list
def destroy | ( | self | ) |
def getItemIndexForItemID | ( | self, | |
itemID | |||
) |
def getSelectedIndex | ( | self | ) |
def getSelectedText | ( | self | ) |
def makeAllItems | ( | self | ) |
def recordMaxHeight | ( | self | ) |
def refresh | ( | self | ) |
Update the list - useful when adding or deleting items or changing properties that would affect the scrolling
def removeAllItems | ( | self, | |
refresh = 1 |
|||
) |
Remove this item from the panel Warning 2006_10_19 tested only in the trolley metagame
def removeAndDestroyAllItems | ( | self, | |
refresh = 1 |
|||
) |
Remove and destroy all items from the panel. Warning 2006_10_19 tested only in the trolley metagame
def removeAndDestroyItem | ( | self, | |
item, | |||
refresh = 1 |
|||
) |
Remove and destroy this item from the panel.
def removeItem | ( | self, | |
item, | |||
refresh = 1 |
|||
) |
Remove this item from the panel
def scrollBy | ( | self, | |
delta | |||
) |
def scrollTo | ( | self, | |
index, | |||
centered = 0 |
|||
) |
scrolls list so selected index is at top, or centered in box
def scrollToItemID | ( | self, | |
itemID, | |||
centered = 0 |
|||
) |
def selectListItem | ( | self, | |
item | |||
) |
def setDecButtonCallback | ( | self | ) |
def setForceHeight | ( | self | ) |
def setIncButtonCallback | ( | self | ) |
def setNumItemsVisible | ( | self | ) |
def setScrollSpeed | ( | self | ) |
currentSelected |
decButton |
decButtonCallback |
forceHeight |
incButton |
incButtonCallback |
index |
itemFrame |
maxHeight |
nextItemID |
|
static |
numItemsVisible |
scrollSpeed |