TomSchimansky / CustomTkinter

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

segmented button command error #2413

Open CoNnOrBOSS03 opened 1 month ago

CoNnOrBOSS03 commented 1 month ago

when trying to add any command to a segmented button, i get the error TypeError: BodyMapInterface.init..() takes 0 positional arguments but 1 was given or something similar: i've tried simple methods without parenthesis and lambda methods and neither work

CoNnOrBOSS03 commented 1 month ago

i see now that this is because the value is passed in as an argument by default: this needs to be reflected in the documentation imo