TwRemoveAllVars (function)

int TwRemoveAllVars(TwBar *bar)

Description

This function removes all the variables, buttons and separators previously added to a tweak bar.

Parameter

bar

The tweak bar from which to remove all variables.

Return values

  • 1 if variables were successfully removed.
  • 0 if an error occurred (call TwGetLastError to retrieve the error).

See also