TomSchimansky / CustomTkinter

A modern and customizable python UI-library based on Tkinter
MIT License
10.77k stars 1.03k forks source link

Documentation is missing any information around StringVar like trace_add #2457

Open AlfredoDinunzioTR opened 4 weeks ago

AlfredoDinunzioTR commented 4 weeks ago

I could not find any info on the website about how to use StringVars so that I could understand the difference from tk and ctk.

Using Intellisense I was able to determine that string var does have a trace method but it is deprecated and replaced by trace_add. Trace_add uses 'write' instead of 'w' like trace.

Was able to work it out, but think some documentation updates are needed

AlfredoDinunzioTR commented 4 weeks ago

Maybe it is my fault for not realizing that we would just use the regular tk documentation for this.

dipeshSam commented 4 weeks ago

Yeah. It should be added to the customtkinter documention also. It's crucial part of the Tkinter.

@TomSchimansky should look into this matter.

AlfredoDinunzioTR commented 4 weeks ago

We also do not have documentation for CTkCanvas. Do you want me to create a new issue, or should we update this to be broader for updated documentation. I am OK without it for now so no urgency. Just want to help people in the future.

dipeshSam commented 4 weeks ago

It's appreciable. Do it at your level. Tom may look for it when he come back.

It's quite clearer that most programmers really want to use updated Tkinter. It's an amazing experience as Tkinter provides huge flexibility which is not a case in Browser Based GUIs, but issues take place when documention found insufficient to build large scale applications. We need to work on documention in possible ways.

Regards.

teijiIshida commented 3 weeks ago

We are missing doc for CTkImage too.