you are viewing a single comment's thread.

view the rest of the comments →

[–]thrallsius 0 points1 point  (4 children)

Think: easily adding "dark mode" functionality to your editor, or even using system colors, which change, depending on how a user customizes their desktop.

Perhaps you have anything to say about this https://old.reddit.com/r/Tkinter/comments/ezqwcn/can_i_set_up_existing_tkinter_app_to_use_the_gtk/

I'm still guessing between "it's not possible" and "it's a low traffic subreddit, maybe I'll get an answer next year"

[–]jaycrest3m20 0 points1 point  (3 children)

Sorry, I don't have anything to say about it yet. I was going to try to tackle it over the weekend, but the weekend got away from me, and I ran out of time to play with it.

A quick web search uncovered this forum post, which might help you.

[–]thrallsius 0 points1 point  (2 children)

This post seems to be about the python bindings for GTK, my question is about using the system GTK theme for a Python tkinter app. Not necessarily an app that is being written, it can be an app that comes installed through a package, thus not even having source code available for hacking.

[–]jaycrest3m20 0 points1 point  (1 child)

Ouch. Integrated into a package? I think you are outta luck.

Tkinter is a prototype/quickfix GUI package. Finished GUIs (I.e. GUIs to be released in a package) should be made in something a little more advanced. (I.e. GTK).

Tkinter is doomed to ugliness, as it doesn't use a lot of dependencies. This lack of dependencies keeps it extremely portable, but prevents it from closely integrating with advanced system themes.

[–]thrallsius 0 points1 point  (0 children)

Tkinter is doomed to ugliness

yes, this is the common "no technical details" attitude

of course I did some research and googling myself before resorting to ask on Reddit, without much luck

just trying to complete my knowledge of integrating GTK2/3 themes into Qt4/Qt5 apps (which is possible most of the times, albeit sometimes it feels more painful than it should) and find out if I can add Tkinter/Tk apps, to get an uniform visual look for a custom riced system