Contents

TwWindowExists (function)

int TwWindowExists(int windowID)

Description

Check if a window context associated to the identifier windowID exists. A window context exists if it has previously been created by TwSetCurrentWindow.

Parameter

windowID

Window context identifier.

The window context identifier 0 always exist, this is the default context created when AntTweakBar is initialized through TwInit.

Return value

See also

TwSetCurrentWindow, TwGetCurrentWindow