Widget::GetLastSprocket
Defined in:
Returns the last sprocket for a widget.
C4Widgets.hPrototype
Sprocket *GetLastSprocket(void) const;
Description
The GetLastSprocket function returns the last sprocket attached to a widget. The entire list of sprockets can be iterated by calling the ListElement::GetPreviousListElement function on the returned object. If a widget has no sprockets, then the GetLastSprocket returns nullptr.
See Also
