TwGetBarByIndex (function)

TwBar *TwGetBarByIndex(int barIndex)

Description

Returns the bar of index barIndex.

Parameter

barIndex

Index of the requested bar. barIndex must be between 0 and TwGetBarCount().

Return value

  • Bar identifier (a pointer to an internal TwBar structure).
  • or NULL if the index is out of range.

See also