Windows¶
The Toga backend for Windows is toga-winforms.
Prerequisites¶
toga-winforms
requires Windows 10 or newer.
If you are using Windows 10 and want to use a WebView to display web content, you will also need to install the Edge WebView2 Evergreen Runtime. Windows 11 has this runtime installed by default.
Installation¶
toga-winforms
is installed automatically on Windows machines (machines that report sys.platform
== 'win32'
), or can be manually installed by running:
$ python -m pip install toga-winforms
Implementation details¶
The toga-winforms
backend uses the Windows Forms API.
The native .NET APIs are accessed using Python.NET.