direct.tkwidgets.MemoryExplorer

from direct.tkwidgets.MemoryExplorer import MemoryExplorer, MemoryExplorerItem

Inheritance diagram

Inheritance diagram of direct.tkwidgets.MemoryExplorer

class MemoryExplorer(parent=None, nodePath=None, **kw)[source]

Bases: MegaWidget, DirectObject

__init__(parent=None, nodePath=None, **kw)[source]
addButton(vertexBytes, totalBytes, funcLClick, funcRClick, item)[source]
addChildCtrl(item, totalBytes)[source]
addItemCtrls(item)[source]
addLabel(label)[source]
addSelfCtrl(item, totalBytes)[source]
analyze()[source]
buildList(parentItem)[source]
createDefaultCtrls()[source]
createRefreshBT()[source]
createScale()[source]
createScrolledFrame()[source]
getBTWidth(vertexBytes, totalBytes)[source]
getNewButton(width, ratio)[source]
makeList()[source]
onChildButtonLClick(item)[source]
onChildButtonRClick(item)[source]
onScaleUpdate(arg)[source]
onSelfButtonLClick(item)[source]
onSelfButtonRClick(item)[source]
refresh()[source]
resetCtrls()[source]
setTitle(parent, bytes)[source]
updateBTWidth()[source]
updateDefaultBTWidth()[source]
class MemoryExplorerItem(parent, nodePath)[source]

Bases: object

__init__(parent, nodePath)[source]
addChild(child)[source]
analyze()[source]
analyzeChildren()[source]
calcNumFaces(geom)[source]
calcTextureBytes()[source]
calcVertexBytes(geom)[source]
getChildren()[source]
getName()[source]
getNumChildren()[source]
getParent()[source]
getPathName()[source]
getSelfVertexBytes()[source]
getVertexBytes()[source]
ls(indent='')[source]