Embarcadero Technologies recently launched a new video series on their YouTube Channel entitled “Embarcadero Open-Source Project Stream” which aims to highlight some of the open-source projects that are sponsored by Embarcadero. Each week will focus on a certain project and will be attended by a group of panelists from Embarcadero. For this video, we will get a side-by-side comparison between two Python GUI toolkits; Tkinter and DelphiFMX. Both of which do not just work well effectively as a Windows UI toolkit but also work with other platforms such as Android, macOS, and even Linux.
What are the differences between the Tkinter and DelphiFMX for Python GUI?
Delphi and Python are two powerful programming languages and they both have their own strengths and weaknesses. Whether you are a long-time Delphi user or a Pythonista, it doesn’t necessarily mean that you have to stick to one language as you can freely combine them both to build a more powerful coding environment. Tkinter, for instance, is Python’s de-facto standard GUI that currently supports 7 different theme styles, 18 widgets, 3 layout options, and an online visual designer.
DelphiFMX, on the other hand, is powered by the Python4Delphi library. It gives developers the ability to take the powerful and mature GUI frameworks of Delphi’s FireMonkey framework and use them in a Python coding environment. Both have High DPI and style support, and they also support asynchronous/ multithreaded applications. Tkinter, however, notably works on more platforms but DelphiFMX has simplified Android deployment. In addition to that, the Delphi designer also provides much greater flexibility and control than the designers available for Tkinter.
The discussion will also highlight some of the additional projects that come along with the Python4Delphi framework including the PythonFMXBuilder (that bundles a Python Script into an Android application), Delphi4Python (D4P) Exporter (an IDE plugin for Delphi to export for Python), and DelphiVCL4Python (the lightweight native windows framework for Python). The video also showcases various demos showing how DelphiFMx works on Python.
To learn more about the DelphiFMX GUI toolkit, feel free to watch the video below.