C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

PanelController::InsertWidgetAfter

Defined in:  C4Panels.h
Inserts a panel item after another in the list owned by a panel controller.
Prototype

void InsertWidgetAfter(Widget *item, Widget *after);

Parameters
item The panel item to attach to the panel controller.
after The panel item after which item will be inserted. This cannot be nullptr.
Description
The InsertWidgetAfter function inserts a panel item after another in the list owned by a panel controller.
See Also

PanelController::InsertWidgetBefore

PanelController::AppendWidget

PanelController::PrependWidget

PanelController::RemoveWidget

PanelController::PurgeWidgets

PanelController::GetFirstWidget

PanelController::GetLastWidget

PanelController::GetWidgetCount

Widget