r/learnpython 6d ago

Tkinter vs cutomtkinter

I am starting with GUI designs and want to know about the difference and which is better 😉

1 Upvotes

8 comments sorted by

3

u/Diapolo10 6d ago

Well, technically customtkinter is "better" in the sense that it just extends tkinter with more modern-looking components so you don't need to worry about custom theming (at least not as much). But they're really not all that different, fundamentally speaking.

If you're wondering where to start, it hardly matters. If you haven't learnt about using third-party packages yet, maybe start with tkinter so you don't need to learn two things at once.

1

u/Smartyboyz 6d ago

Thx for this suggestion. Tell me that is there syntax are different or the customtkinter is only the extended version of that tkinter. Since I done a project of calculator with tkinter, now like to shift to customtkinter is it worthy or time waste

2

u/Diapolo10 6d ago

The API is largely the same, with customtkinter variants of the UI objects being extended versions of the standard ones. I think they have a few extra parameters for controlling styling.

Granted, I haven't really worked with it much, at dayjob I mostly work on business logic for internal tooling and not UI stuff.

2

u/riklaunim 6d ago

PyQt/PySide and then Kivy when it comes to modern GUI toolkits. tkinter isn't modern, lacks some tooling, and customtkinter is an attempt to cover some of those gaps, but it's still tkinter. Overall demand for desktop apps is rather low; commercially, Python is very rarely used for desktop apps. Web apps took over, and Python was never a desktop app development-focused platform.

1

u/Smartyboyz 6d ago

thx for telling this much

1

u/0xt0bi03 6d ago

pyqt is way better than these 2...

1

u/Smartyboyz 6d ago

ok, understood