ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
8.63k stars 794 forks source link

Convert codebase to use customtkinter #335

Closed ghost closed 1 year ago

ghost commented 1 year ago

Briefly describe your feature request

customtkinter is so much better than normal tkinter (or even tkinter.ttk) that it is impossible to describe. Much more user friendly, an amazingly well documented API, modern GUI, a big community on Github, the project is open-source, and CTk has a growing ecosystem of extensions!

What problem is this feature trying to solve?

It would make the applications generated by this (quite revolutionary and useful) tool look a lot better.

How do we know when the feature is complete?

When all instances/mentions of tkinter are replaced with customtkinter. Granted, CTk doesn't have a few things that Tk does such as the Menu widget in Tk. So I should rephrase to everything that can be replaced should be replaced.

Is there any possible approach you have thought of? If yes then how?

I believe it'll have to be manual. Cmd+F (or Ctrl+F for you inferior Windows users) should help in the process.

Would you like to participate in development of this feature?

Of course! I am fanboy over customtkinter the way many stan for Dream or fanboy/fangirl over K-Pop. I've created one application with CTk but, thanks to the documentation, I feel ready to take on this issue. I do hope other people would work with me on this issue as it is transforming the code base of the entire project (and affects core functionality).

The above stuff were mainly jokes, I'm not actually hating on anyone for using Windows! (or liking K-Pop)

ghost commented 1 year ago

Harder than expected. Seems like there are a few parameters (such as highlightthickness) which aren't supported in CTk. Also, passing width and height through .place() methods (calling these on widget instances) doesn't work. Will continue work with approval of the issue/feature.

ParthJadhav commented 1 year ago

Hey @dishb , The whole point of this project is to:

  1. Avoid extra dependencies as tkinter is built-in module for python.
  2. Allow extensive customisation through use of Figma.

Granted custom-tkinter looks amazing out of the box, but that wouldn't help Tkinter-Designer because all the designs for Tkinter-Design comes from Figma which you can customise according to your will.

ParthJadhav commented 1 year ago

Thank you for considering to work on this project, You can pick up any other issue if you want to contribute to this project 😄

ghost commented 1 year ago

Gotcha, thanks for the explanation! :)