Akascape / CTkListbox

A simple listbox for customtkinter (extenstion/add-on)
MIT License
130 stars 14 forks source link

Fix dictionary inconsistency #40

Closed P3rdigas closed 5 months ago

P3rdigas commented 6 months ago

After having some issues with the elimination of options (issue #33), this changes implement the use of a single data structure, instead of using one and sometimes converting to another. Given that, the insert function was changed, where by default an element is added to the end of the list, but if the user specifies an index, the element is added to that index (or changed, if that index already exists).

All features seems to work without issues and a complex example is given. Any issues found, i'm open to try to fix it!

Akascape commented 5 months ago

@P3rdigas There will be errors with older code.

Akascape commented 5 months ago

@P3rdigas I have fixed #33, you can check the new version.