Allow custom select options in SimpleMenu #6455
Labels
Status: Needs Triage
This has not been labeled or discussed for handling yet.
Type: Feature
New feature or request.
Type of feature request
API functionality
Description of the feature you're suggesting
SimpleMenu should allow custom names for the pages instead of the hardcoded "Page X".
The most straight forward solution I can see is to take an optional list of names when creating the menu and if its given, use it instead of generating the "Page X" list.
My cog currently "hacks" the existing behavior using
(menu_items is a list of tuples of (name,content) in this case)
Anything else?
I can write a pull request myself if needed.
The text was updated successfully, but these errors were encountered: