getParent

Optional<WidgetgetParent()

Gets the parent of this widget in the widget tree

Return

the parent of this widget