CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

name support for CTkEntry, CTkLabel, CTkTextbox

Open jericjan opened this issue 3 years ago • 1 comments

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.

jericjan avatar Aug 29 '22 05:08 jericjan

I will look into this for version 5.1.0

TomSchimansky avatar Nov 12 '22 22:11 TomSchimansky

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 avatar May 31 '23 15:05 octimot

@octimot Just bad coding habits, I suppose. Yours looks way simpler and better than mine lol.

jericjan avatar Jun 02 '23 12:06 jericjan