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

Segmented button model - add method to get number of items in the model. #800

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

Tony4dev
Copy link
Contributor

The only way to get number of items in the model right now is to do
nav.iter().count() which is unnecessarily costly. Therefore I have added a simple method to get the length of the deque.

…s in the model.
@Tony4dev Tony4dev changed the title Segmented button model - add convenience method to get number of items in the model. Segmented button model - add method to get number of items in the model. Jan 24, 2025
@mmstick mmstick merged commit 0b7e234 into pop-os:master Feb 13, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants