Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to dropselect API that tells if its dropdown is expanded #469

Open
BeXXsoR opened this issue Jul 16, 2023 · 0 comments
Open

Add method to dropselect API that tells if its dropdown is expanded #469

BeXXsoR opened this issue Jul 16, 2023 · 0 comments

Comments

@BeXXsoR
Copy link

BeXXsoR commented Jul 16, 2023

Background:
I have a dropselect widget and another widget beneath it, both with an 'on_mouse_over'-method attached. When I use the dropdown of the dropselect widget, it overlaps with the second widget. When trying to select an item from the dropdown, the mouseover-functions of the 2nd widget is executed (understandable, but not desired). In order to adjust my mouseover-method, I looked for a method in the dropselect API that shows if its dropdown is expanded, but couldn't find one. The only workaround I've found is to use the get_focus_rect method of the dropselect API, as this one changes when the dropdown is expanded. But that isn't very intuitive imo.

Request:
I suggest to add a separate method to the dropselect API that tells if its dropdown is expanded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant