C4 Engine
C4 Engine API Documentation

Widget::GetRootWidget

Defined in:  C4Widgets.h
Returns the root widget in a tree.
Prototype

RootWidget *GetRootWidget(voidconst;

Description
The GetRootWidget function returns a pointer to the root widget for the tree containing the widget for which this function is called. If there is no root widget, then the return value is nullptr.
See Also

Widget::GetOwningWindow

RootWidget