Nested/2nd level submenus?

Started by Marsu42, August 26, 2013, 02:36:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Marsu42

Is it possible to nest submenus, or is this a planned feature?

Some menus I have in mind with a lot of choices, for example for choosing hotkey functions, simply don't seem appropriately placed in the main menu hierarchy, and having submenu-submenus would allow splitting up large item lists into more logical pieces.

a1ex

Right now it's not possible, and to implement it, it requires quite a bit of hacking in menu.c. It's not quite trivial, but not impossible either.

File manager rebuilds the entire submenu when navigating subfolders.

Marsu42

Quote from: a1ex on August 26, 2013, 02:39:35 PM
Right now it's not possible, and to implement it, it requires quite a bit of hacking in menu.c. It's not quite trivial, but not impossible either.

If so, it'd be great if you'd sooner or later came around to it, imho it's a useful addition and it's surprising that just adding another child menu entry currently refuses to work.

a1ex

Yeah, the front-end data structure is fine, just the backend doesn't know how to handle it.