API ObjectPoolMixin GetNextActive

Stateless iterator to cycle through the active and inactive widgets in an. widget = pool:NextActive([current]) widget = pool:NextInactive([current])

Arguments

 * current : - Current widget in the list, or nil to start at the beginning.

Returns

 * widget : - Next widget in the list, or nil when the last widget has been reached.

Details

 * There are no assurances the widgets will be accessed in any particular order.

Example
local widget = pool:NextActive while (widget) do  -- do something widget = pool:NextActive end