CustomTkinter
CustomTkinter copied to clipboard
Alias ._clicked() to .invoke()
Not sure why the user closed #226, as its still valid even in the dev branch.
As CTkButton does not seem to inherit Button it has no .invoke() method currently. Calling .event_generate('<Button-1>') on a CTkButton does not trigger it either, you need .invoke() unless you want to directly call the protected member of CTkButton: ._clicked()
Honestly it would be perfectly fine if .invoke() is just an alias of ._clicked(), the functionality seems the same and it would get rid of any IDE warnings.
I will add the invoke method
Invoke method is now implemented with version 5.0.0.