When comparing GTK+ vs Tkinter, the Slant community recommends GTK+ for most people. In the question“What are the best cross-platform GUI toolkits?” GTK+ is ranked 11th while Tkinter is ranked 20th. The most important reason people chose GTK+ is:
Supports a lot of languages like Java, Javascript, C++, Python, Pascal, FreeBasic and Haskell, but support for languages like C# and GO is only partial.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Language bindings
Supports a lot of languages like Java, Javascript, C++, Python, Pascal, FreeBasic and Haskell, but support for languages like C# and GO is only partial.
Pro Nicer user interface when using PyGi
Creating cross platform enterprise apps with PyGi and with the help of Gtk Themes makes them look great.
Pro Working with GTK focused Vala is great
Vala is made to make GTK easy [as well as for other things] and it really does, and makes it easier than working with C/C++, Python, or any other,
Pro Free for commercial use
Pro Included in the standard Python library
You probably already have it, since it's included in the standard Python distributions.
Pro Easy to learn and get productive with
TkInter is a small library with a gentle learning curve compared to what’s out there. It has a straightforward API and is often the go-to choice for building quick GUIs for Python scripts.
Pro Building executables is less complicated
Compared to other GUI libraries, building executables for TkInter applications are simpler because TkInter is included in Python and has no other dependencies. This results in less complicated packaging requirements and smaller binary size.
Pro Fast
Cons
Con Sucks for traditional applications
GTK3 added CSD widgets and added a lot of paddings to make widgets bigger for touchscreen use, GTK4 also even removed Menubar and Toolbar widgets.
Con No menuicons or mnemonics
Gtk3 has removed the support of icons and mnemonics making navigating menus just terrible for the use with a keyboard. Sure there are some hacks to make them working again but they will never work as they did/do work in Windows, GTK2 or QT.
Con Terrible integration
Looks and feels like an alien on all other platforms than GNOME.
Con Promotes Wayland as the standard X11 server on Unix
Lets face it, Wayland is not a replacement for XORG since Wayland works currently only in GNOME and there are many issues. Some desktops and window managers will never get ported to Wayland and it is not available to all Unix and Unix-like systems. X11 on the other hand is available for almost everything, so it will be available for the next decade or even longer.
Con No advanced widgets
TkInter does not come with advanced widgets out of the box (e.g. date picker).
Con Not good looking
You need a lot of code to make it look good.
Con No reliable UI builder available
There is no tool in the same league as Qt Designer (PyQt) for TkInter.
