TwSetTopBar (function)

int TwSetTopBar(const TwBar *bar)

Description

Set the specified bar as the foreground bar. It will be displayed on top of the other bars.

Parameter

bar

Bar identifier.

Return value

  • 0 if failed (bar not found; call TwGetLastError to retrieve the error).
  • 1 if succeeded

See also