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

Ability to get/set an item in a menu using its index #141

Open
lenormf opened this issue Jul 20, 2021 · 1 comment
Open

Ability to get/set an item in a menu using its index #141

lenormf opened this issue Jul 20, 2021 · 1 comment
Labels
Feature Request Add for a new feature request

Comments

@lenormf
Copy link

lenormf commented Jul 20, 2021

Is your feature request related to a problem? Please describe.
One can get the index of the selected element and the whole list of items, as well as set this entire list back into the menu, but there are no methods to get/set an element by index.

Describe the solution you'd like
Implementations of get_item_index(index) and set_item_index(index, item).

@lenormf lenormf added the Feature Request Add for a new feature request label Jul 20, 2021
@lenormf
Copy link
Author

lenormf commented Jul 20, 2021

One issue here would be that with checkbox menus, the setter would potentially modify distinct items, c.f. #140.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Add for a new feature request
Projects
None yet
Development

No branches or pull requests

1 participant