Contents

TwNewBar (function)

TwBar * TwNewBar(const char *name)

Description

Creates a new tweak bar.

Note:
The AntTweakBar library must have been initialized (by calling TwInit) before creating a bar.

Parameter

name

Name of the new tweak bar.

Return value

Tweak bar identifier. It is a pointer to an internal TwBar structure.

See also

TwDeleteBar, TwSetTopBar, TwDraw, TwWindowSize, TwKeyPressed, TwMouseButton, TwMouseMotion