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: _Pmw.Pmw_2_0_1.lib.PmwBase.MegaWidget, direct.showbase.DirectObject.DirectObject

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

Bases: object

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