The main mvc tree class.
Method Summary |
|
__init__(self,
parent,
id,
model,
layout,
transform,
painter,
*args,
**kwargs)
|
|
__repr__(self)
|
|
__str__(self)
|
|
AddEditor(self,
editor)
|
|
AddToSelection(self,
nodeOrTuple,
enableMulti,
shiftMulti)
|
|
Edit(self,
node)
|
|
EndEdit(self)
|
|
GetAssumeChildren(self)
|
|
GetBackgroundColour(self)
|
|
GetCurrentRoot(self)
|
|
GetDisplayText(self,
node)
|
|
GetFont(self)
|
|
GetForegroundColour(self)
|
|
GetLayoutEngine(self)
|
|
GetModel(self)
|
|
GetPainter(self)
|
|
GetSelection (self)
Returns a tuple of selected nodes. |
|
GetTransform(self)
|
|
IsDoubleBuffered(self)
|
|
IsExpanded(self,
node)
|
|
IsMultiSelect(self)
|
|
IsSelected(self,
node)
|
|
LoadChildren(self,
layoutNode)
|
|
NodeAdded(self,
parent,
child)
|
|
NodeInserted(self,
parent,
child,
index)
|
|
NodeRemoved(self,
node)
|
|
OnEraseBackground(self,
evt)
|
|
OnKeyDown(self,
evt)
|
|
OnKnobClick(self,
node)
|
|
OnMouse(self,
evt)
|
|
OnNodeClick(self,
node,
mouseEvent)
|
|
OnPaint (self,
evt)
Ensures that the tree has been laid out and transformed, then calls the painter
to paint the control. |
|
OnSize(self,
evt)
|
|
Refresh(self)
|
|
RemoveEditor(self,
editor)
|
|
RemoveFromSelection(self,
nodeTuple)
|
|
SetAssumeChildren(self,
bool)
|
|
SetBackgroundColour(self,
color)
|
|
SetDoubleBuffered (self,
bool)
By default MVCTree is double-buffered. |
|
SetExpanded(self,
node,
bool)
|
|
SetFont(self,
font)
|
|
SetForegroundColour(self,
color)
|
|
SetModel (self,
model)
Completely change the data to be displayed. |
|
SetMultiSelect(self,
bool)
|
|
SetSelection(self,
nodeTuple)
|