Using GTK+ on Windows 3 GTK Library Using GTK+ on Windows Windows-specific aspects of using GTK+ Using GTK+ on Windows The Windows port of GTK+ is an implementation of GDK (and therefore GTK+) on top of the Win32 API. Windows-specific commandline options The Windows GDK backend can be influenced with some additional command line arguments. <systemitem>--sync</systemitem> Don't batch GDI requests. This is a useful option for debugging, but it will slow down the performance considerably. <systemitem>--no-wintab</systemitem>, <systemitem>--ignore-wintab</systemitem> Don't use the Wintab API for tablet support. This is the default. <systemitem>--use-wintab</systemitem> Use the Wintab API for tablet support, if GTK+ has been compiled with the option. <systemitem>--max-colors <replaceable>number</replaceable></systemitem> In 256 color mode, restrict the size of the color palette to the specified number of colors. Windows-specific environment variables The Win32 GDK backend can be influenced with some additional environment variables. <envar>GDK_IGNORE_WINTAB</envar> If this variable is set, GTK+ doesn't use the Wintab API for tablet support. This is the default. <envar>GDK_USE_WINTAB</envar> If this variable is set, GTK+ uses the Wintab API for tablet support, if GTK+ has been compiled with the option. <envar>GDK_WIN32_MAX_COLORS</envar> Specifies the size of the color palette used in 256 color mode. <envar>G_WIN32_PRETEND_WIN9X</envar> Only use the Windows 9x API.