Using GTK on Windows

The Windows port of GTK is an implementation of GDK (and therefore GTK) on top of the Win32 API. When compiling GTK on Windows, this backend is the default.

More information about GTK on Windows, including detailed build instructions, binary downloads, etc, can be found online.

Windows-specific environment variables

The Win32 GDK backend can be influenced with some additional environment variables.

GDK_IGNORE_WINTAB

If this variable is set, GTK doesn’t use the Wintab API for tablet support.

GDK_USE_WINTAB

If this variable is set, GTK uses the Wintab API for tablet support. This is the default.