Trees | Indices | Help |
|
---|
|
object --+ | VLibNode
base class for all virtual library nodes, defines minimal required interface
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
>>> p1 = VLibNode() >>> p2 = VLibNode() >>> c1 = VLibNode() >>> p1.AddChild(c1) >>> len(c1.GetParents()) 1 >>> len(p1.GetChildren()) 1 >>> p2.AddChild(c1,notify=0) >>> len(c1.GetParents()) 1 >>> len(p2.GetChildren()) 1 >>> c1.AddParent(p2,notify=0) >>> len(c1.GetParents()) 2 >>> len(p2.GetChildren()) 1 |
>>> p1 = VLibNode() >>> p2 = VLibNode() >>> c1 = VLibNode() >>> c1.AddParent(p1) >>> len(c1.GetParents()) 1 >>> len(p1.GetChildren()) 1 >>> c1.AddParent(p2,notify=0) >>> len(c1.GetParents()) 2 >>> len(p2.GetChildren()) 0 >>> p2.AddChild(c1,notify=0) >>> len(c1.GetParents()) 2 >>> len(p2.GetChildren()) 1 |
>>> p1 = VLibNode() >>> p2 = VLibNode() >>> c1 = VLibNode() >>> c2 = VLibNode() >>> p1.AddChild(c1) >>> p2.AddChild(c1) >>> p2.AddChild(c2) >>> len(c1.GetParents()) 2 >>> len(c2.GetParents()) 1 >>> len(p1.GetChildren()) 1 >>> len(p2.GetChildren()) 2 >>> c1.Destroy(propagateUp=1) >>> len(p2.GetChildren()) 0 >>> len(c1.GetParents()) 0 >>> len(c2.GetParents()) 0 |
>>> p1 = VLibNode() >>> c1 = VLibNode() >>> p1.AddChild(c1) >>> len(c1.GetParents()) 1 >>> len(p1.GetChildren()) 1 >>> p1.RemoveChild(c1) >>> len(c1.GetParents()) 0 >>> len(p1.GetChildren()) 0 |
>>> p1 = VLibNode() >>> c1 = VLibNode() >>> p1.AddChild(c1) >>> len(c1.GetParents()) 1 >>> len(p1.GetChildren()) 1 >>> c1.RemoveParent(p1) >>> len(c1.GetParents()) 0 >>> len(p1.GetChildren()) 0 |
x.__init__(...) initializes x; see help(type(x)) for signature
|
part of the iterator interface raises StopIteration on failure |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 23 18:49:15 2016 | http://epydoc.sourceforge.net |