ParthJadhav / Tkinter-Designer

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

Multithreading technology is added 增加了多线程技术 #189

Closed YouToco closed 1 year ago

YouToco commented 2 years ago

😊防止主程序在调用子函数(按下generate按钮)时卡顿

Prevent the main program from getting stuck when calling the sub function (press the ⌈generate⌋ button)

YouToco commented 2 years ago

If you have any questions, you can communicate with me

Or there's something wrong with my code

ParthJadhav commented 2 years ago

Hey Just tested the code. And it's great but the generate button is still clickable and functional while the file is being generated. Can u add something which will show that the file is being generated ?

YouToco commented 2 years ago

Visualize the file creation progress by clicking on the Generate button. You can use the progress bar, which may include a method to calculate how many files need to be converted and how many files were converted, depending on how you converted from Figma files to Python files😃

YouToco commented 2 years ago

After clicking on the Generate button again, the same process is performed each time, so it is possible to generate multiple builds at the same time by clicking on the Generate button, switching to the Figma link and clicking on the Generate button

ParthJadhav commented 2 years ago

I see, If we were to merge this change then we would also need to have some sort of indicator with it. Or else this might create confusion.

You can work on it if you want or let me know; I'll look into it.