Widget.children

Returns the list of the widget's children.

class Widget
final @property inout @nogc nothrow pure
inout(Widget)[]
children
()

Meta

History

Prior to May 11, 2021, the Widget[] children was directly available. Now, only this property getter is available and the actual store is private.

Children should be added by the constructor most the time, but if that's impossible, use addChild and removeWidget to manage the list.