C4 Engine
C4 Engine API Documentation

Widget::GetPanelController

Defined in:  C4Widgets.h
Returns the panel controller to which a widget belongs.
Prototype

PanelController *GetPanelController(voidconst;

Description
The GetPanelController function returns the panel controller to which a widget belongs. If the widget is not part of an in-game panel effect, then the return value is nullptr.
See Also

PanelController