Akascape / CTkListbox

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

Support for exportselection=False/True #5

Closed codedreamin closed 11 months ago

codedreamin commented 11 months ago

Hello,

Appreciate the work for this addition to customtkinter, I currently have a listbox inside of a tabview and when I tab back and forth it unhighlights the listbox selection.

Could exportselection be added as an option for CTkListbox?

Akascape commented 11 months ago

@codedreamin CTkListbox is a little different, it doesn't unhighlight the selections when other ctklistbox is focused, so there is no need of exportselection option. If you want to deselect something, use .deselect() method.

codedreamin commented 11 months ago

Thanks Akascape for the quick reply, it seems that it kept the selection highlighted after I added widgets to all three of my tabs. So although I'm not entirely sure why it was behaving that way. It is working now.