A ui container is a base for all classes that can have child controls or
other containers.
This class is just supposed to keep references to it's children so that additional
information stored in python will not get lost
Child-Instances are always unique, thus adding them several times will not
keep them several times , but just once
|
__init__(self,
*args,
**kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
add(self,
child,
set_self_active=False,
revert_to_previous_parent=True)
Add the given child UI item to our list of children |
source code
|
|
|
|
|
deleteChild(self,
child)
Delete the given child ui physically so it will not be shown anymore
after removing it from our list of children |
source code
|
|
|
|
|
childByName(self,
childname)
Returns:
stored child instance, specified either as short name ( without pipes )
or fully qualified ( i.e. |
source code
|
|
|
setActive(self)
Set this container active, such that newly created items will be children
of this layout |
source code
|
|
|
clearChildren(self)
Clear our child arrays to quickly forget about our children |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|