Widget.parent

Returns the widget's parent.

class Widget
final @property inout nothrow @nogc pure @safe return
inout(Widget)
parent
()

Meta

History

Prior to May 11, 2021, the Widget parent variable was directly available. Now, only this property getter is permitted.

The parent should only be managed by the addChild and removeWidget method.