You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using classes derived from CTkComboBox and CTkOptionMenu as comboboxes and option menus. Attaching CTkScrollableDropdown to these derived classes does not work properly - the dropdown arrow does not open the dropdown, and the selected item is not returned to the combo box/option menu either.
This is because in the CTkScrollableDropdown constructor,
nexperion
changed the title
Attachment to classes derived from CTkComboBox or CTkOptionMenu does dot work properly
Attachment to classes derived from CTkComboBox or CTkOptionMenu does not work properly
May 30, 2024
I am using classes derived from CTkComboBox and CTkOptionMenu as comboboxes and option menus. Attaching CTkScrollableDropdown to these derived classes does not work properly - the dropdown arrow does not open the dropdown, and the selected item is not returned to the combo box/option menu either.
This is because in the CTkScrollableDropdown constructor,
self.attach.winfo_name().startswith("!ctkcombobox")
is used to identify the class of 'attach', and that fails for derived classes. Why not using
isinstance(self.attach, customtkinter.CTkComboBox)
instead?
The text was updated successfully, but these errors were encountered: