C4 Engine
C4 Engine API Documentation

Widget::AddSprocket

Defined in:  C4Widgets.h
Adds a sprocket to a widget.
Prototype

void AddSprocket(Sprocket *sprocket);

Parameters
sprocket The sprocket to add to the widget.
Description
The AddSprocket function adds a sprocket to a widget. A sprocket can be removed from a widget by either deleting the Sprocket object or by calling the Widget::RemoveSprocket function.
See Also

Widget::RemoveSprocket

Widget::GetFirstSprocket

Widget::GetLastSprocket

Sprocket