Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Camera is connected to xwindow number.

exist number | name

Check if an xwindow exists by its number or name. The result is placed in the return code [gvar rc] and as a Tcl return code (0 or 1) using [xwi exist name] .

Info
titleExample of checking if a window exists

xwi exist 3
set doesexist [gvar rc]
#will set the variable $doesexist to 1 if the xwindow does exist, and -1 if not existing.

...