C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

PanelController::InsertWidgetBefore

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

void InsertWidgetBefore(Widget *item, Widget *before);

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

PanelController::InsertWidgetAfter

PanelController::AppendWidget

PanelController::PrependWidget

PanelController::RemoveWidget

PanelController::PurgeWidgets

PanelController::GetFirstWidget

PanelController::GetLastWidget

PanelController::GetWidgetCount

Widget