C4 Engine Terathon Software C4 Engine API Documentation

• Effect Manager

API Links
Developer Links

PanelController::GetLastWidget

Defined in:  C4Panels.h
Returns the first panel item for a panel controller.
Prototype

Widget *GetLastWidget(voidconst;

Description
The GetLastWidget function returns the last panel item attached to a panel controller. The entire list of panel items can be iterated by calling the ListElement::Previous function on the returned object. If a panel controller has no panel items, then the GetLastWidget returns nullptr.
See Also

PanelController::GetFirstWidget

PanelController::GetWidgetCount

PanelController::AppendWidget

PanelController::PrependWidget

PanelController::InsertWidgetBefore

PanelController::InsertWidgetAfter

PanelController::RemoveWidget

PanelController::PurgeWidgets

Widget