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

Provide a vertical menu widget #1838

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

lpenz
Copy link

@lpenz lpenz commented Dec 22, 2023

VertMenu is a full screen vertical menu widget that supports efficient item updates and has a callback for menu movement.

I tried using FormattedTextControl to create a simple menu for a full-screen application and it was somewhat slow - and the documentation actually says that it's "for rather small widgets, like toolbars, menus". So I created this as a more optimized widget for vertical menus, supporting item updates and with a callback that is triggered when the selected item changes. I have this today as part of https://github.com/lpenz/ptvertmenu but I think vertical menus are somewhat common in full-screen console programs.

Let me know if there's any interest in incorporating this.

@lpenz lpenz force-pushed the vertmenu branch 2 times, most recently from 145829f to 1431ce3 Compare December 31, 2023 16:56
VertMenu is a full screen vertical menu widget that supports
efficient item updates and has a callback for menu movement.
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.

1 participant