LEVIATHAN v962456e · 962456eee1

dagon

class Container

since 0.1.0-alpha.1linux

bases
Component, IContainer

Fields

children_

Array<IComponent> children_

layout_

Methods

__dagonChildren

__dagonChildren() -> Array<IComponent>

__dagonContentRect

__dagonContentRect() -> Rect

add

add(IComponent child) -> Container

arrange

arrange(Rect assigned) -> void

children

children() -> Array<IComponent>

clear

clear() -> Container

contentDesired

contentDesired(Size avail) -> Size

contentRect

contentRect() -> Rect

layout

layout() -> ILayoutStrategy

paint

paint(Canvas c) -> void

remove

remove(IComponent child) -> Container

setLayout

setLayout(ILayoutStrategy l) -> Container

wouldCreateCycle

wouldCreateCycle(IComponent | None cursor, IComponent child) -> bool