moby
class Container
since 0.1.0-alpha.1linux
- bases
Component,IContainer
Fields
children_
Array<IComponent> children_layout_
ILayoutStrategy layout_Methods
__mobyChildren
__mobyChildren() -> Array<IComponent>__mobyContentRect
__mobyContentRect() -> Rectadd
add(IComponent child) -> Containerarrange
arrange(Rect assigned) -> voidchildren
children() -> Array<IComponent>clear
clear() -> ContainercontentDesired
contentRect
contentRect() -> Rectlayout
layout() -> ILayoutStrategypaint
paint(Surface s) -> voidremove
remove(IComponent child) -> ContainersetLayout
setLayout(ILayoutStrategy layout) -> ContainerwouldCreateCycle
wouldCreateCycle(IComponent | None cursor, IComponent child) -> bool