winfo server

winfo server window

Returns a platform-specific description of the host system for the Tk widget called window. Where this is X11 of some form, the string is highly likely to include a description of the exact version of the protocol in use.

See also