6 ms·
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 l
by wayvey 3y ago
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!
- asicsp 3y agoSee also https://github.com/rdbende/Sun-Valley-ttk-theme https://github.com/rdbende/Sun-Valley-ttk-theme (couple more themes are linked at the end of readme)
- formerly_proven 3y agoTkinter 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://ttkbootstrap.readthedocs.io/en/latest/#sample-themes - https://wiki.tcl-lang.org/page/List+of+ttk+Themes#60ca3eb80eb25a68ec0147abcac5badb44ba1e94ce1e9dc3c826be33887f9b70 https://wiki.tcl-lang.org/page/List+of+ttk+Themes#60ca3eb80e... - https://ttkthemes.readthedocs.io/en/latest/themes.html 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.
- mhitza 3y ago> 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.
- Kwpolska 3y agoHere’s IDLE’s settings window on Windows 11: https://i.imgur.com/DnwviOr.png 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).
- aidenn0 3y agoIDLE uses the pre-ttk widget set and is indeed ugly. See https://tkdocs.com/tutorial/idle.html 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.
- ptx 3y agoThis site has a pretty good tutorial and conceptual overview: https://tkdocs.com/ https://tkdocs.com/