foo_spider_monkey_panel icon indicating copy to clipboard operation
foo_spider_monkey_panel copied to clipboard

Dynamic menus with submenus

Open regorxxx opened this issue 2 years ago • 1 comments

Just a suggestion of improvement. Ability to create submenus just for display purpose. RegisterMainMenuCommand(id, name, descriptionopt, [subMenu])

Empty by default. Id and all that working the same, only telling the UI where to place the entry within the Panel's menu (contrary to the other menu functions).

Or just allow dividing entries by '/', being the last part the entry name and the rest submenus. RegisterMainMenuCommand(id, name1/name2, descriptionopt)

Rationale: exposing entries from things like Playlist tools or the manager clutter the lists easily. For example adding menus to load playlists files, which could be easily grouped... (the idea is exposing SMP things for server management via http control https://hydrogenaud.io/index.php?topic=62218.msg1000180#msg1000180 or CMD)

image

regorxxx avatar May 29 '22 09:05 regorxxx

PS: Main menu API is kind of a PITA, so I don't think I will get to this any time soon, because I don't want to deal with it :D

TheQwertiest avatar Jun 15 '22 23:06 TheQwertiest