:class:`int`.
Raise :exc:`ValueError` if *s* is not a valid integer.
- .. method:: getvar(name='PY_VAR')
+ .. method:: getvar(name)
Return the value of the Tcl global variable named *name*.
- .. method:: setvar(name='PY_VAR', value='1')
+ .. method:: setvar(name, value)
Set the Tcl global variable named *name* to *value*.
This updates the display of windows, for example after geometry changes,
but does not process events caused by the user.
- .. method:: waitvar(name='PY_VAR')
+ .. method:: waitvar(name)
:no-typesetting:
- .. method:: wait_variable(name='PY_VAR')
+ .. method:: wait_variable(name)
Wait until the Tcl variable *name* is modified, continuing to process
events in the meantime so that the application stays responsive.