DOKK / manpages / debian 12 / tix-dev / tixGetBoolean.3.en
TIX(3) Tix Built-In Commands TIX(3)

tixGetBoolean - Get the boolean value of a string.

tixGetBoolean ?-nocomplain? string

The command tixGetBoolean returns "0" if the string is a valid TCL string for the boolean value FALSE. It returns "1" if the string is a valid TCL string for the boolean value TRUE.

When the string is not a valid TCL boolean value and the -nocomplain option is specified, tixGetBoolean will return "0". Otherwise it will generate an error.

Tix(n)

4.0 Tix