Skip to content

Conversation

@xarvic
Copy link
Collaborator

@xarvic xarvic commented Sep 20, 2022

No description provided.

@xStrom
Copy link
Member

xStrom commented Jan 12, 2023

Please rebase on master so we can pass the CI.

Also, what is going on here? Please provide at least a short paragraph describing what the changes are supposed to be doing.

@xStrom xStrom added the S-waiting-on-author waits for changes from the submitter label Jan 12, 2023
@xarvic
Copy link
Collaborator Author

xarvic commented Jan 21, 2023

This PR introduces helper methods for working with selectable menu items. Menuitem::togle_data() turns a menu item with data of bool into a simple checkbox.
MenuItem::radio_item() makes the menu item selectable. It is selected if the data is equal to the provided value.

@xarvic xarvic added S-needs-review waits for review and removed S-waiting-on-author waits for changes from the submitter labels Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-needs-review waits for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants