Widget.addChild

Add a child widget to the current widget at the specified index.

This function almost never needs to be called by hand, since the constructor of Widget automatically adds the current widget to its parent

  1. void addChild(int index, Widget widget)
    class Widget
    void
    addChild
  2. void addChild(Widget widget)

Meta