CustomTkinter
CustomTkinter copied to clipboard
name support for CTkEntry, CTkLabel, CTkTextbox
When you give either CTkEntry, CTkLabel, or CTkTextbox the name argument, the path names for those widgets become something like .frame.!ctklabel, with a child widget that has the actual name like .frame.!ctklabel.my_widget_name This is a possible fix for that.
I will look into this for version 5.1.0
I've added the name attribute for Button, Frame and BaseClass in a new pull request #1676
@jericjan Was there a reason why you chose to implement name=name directly in the signature of the __init__ functions and you went the kwargs route?
Cheers!
@octimot Just bad coding habits, I suppose. Yours looks way simpler and better than mine lol.