Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty impressive. I've never very much liked how TKinter looks out of the box and i didn't know it's capable custom UI visuals as in the examples. If tkinter looked like the OS native UI it would be optimal, but in my experience it mostly doesn't. Will be following this project for my future GUI needs in Python. Nice work!


Tkinter looks native on platforms that have native GUIs (Windows, macOS). On Unix you can use any of the numerous platform-independent (non-native) skins for Ttk:

- https://ttkbootstrap.readthedocs.io/en/latest/#sample-themes

- https://wiki.tcl-lang.org/page/List+of+ttk+Themes#60ca3eb80e...

- https://ttkthemes.readthedocs.io/en/latest/themes.html

The main issue with Tk/Ttk is mostly documentation and of course that it's a classic GUI framework, not a 3D-GPU-layer-based framework suitable for highly animated and composited UIs.

There's a bunch of stuff that you really wanna know about but simply isn't included in the Python docs, and the real API docs are for Tcl and you need to understand how those tclisms map over to Python.


Here’s IDLE’s settings window on Windows 11: https://i.imgur.com/DnwviOr.png

Those combo boxes are definitely not native. The menus are also off (the menu items are shorter and they turn blue instead of gray when highlighted).


IDLE uses the pre-ttk widget set and is indeed ugly.

See https://tkdocs.com/tutorial/idle.html for a case-study involving IDLE (Search for "Another Example" to see the settings window). You should be able to tell from the windows and mac screenshots how old this article is.


> The main issue with Tk/Ttk is mostly documentation and of course that it's a classic GUI framework, not a 3D-GPU-layer-based framework suitable for highly animated and composited UIs.

That and accessibility.


This site has a pretty good tutorial and conceptual overview: https://tkdocs.com/


See also https://github.com/rdbende/Sun-Valley-ttk-theme (couple more themes are linked at the end of readme)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: