Ventoy Forums
Default Selected Item in Menu - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy Plugin (https://forums.ventoy.net/forumdisplay.php?fid=3)
+--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4)
+--- Thread: Default Selected Item in Menu (/showthread.php?tid=1778)



Default Selected Item in Menu - asheroto - 08-17-2021

Hey guys,

I'm a huge Ventoy fan! Love it.

How do you specify the default selected item for each menu in treeview?

Here's a video: https://drive.asher.cloud/s/E6JPn3sdaKA8Fqn

Backup & Recovery -> item #2 is selected by default
Partition -> item #1 is selected by default
Bootable Environments -> Item #4 is selected by default

I am using a theme, menu alias, and menu class.

VTOY_DEFAULT_SEARCH_ROOT is not set.

Can I somehow specify VTOY_DEFAULT_IMAGE for each folder?

Thanks!!!!   Cool


RE: Default Selected Item in Menu - longpanda - 08-17-2021

Can I somehow specify VTOY_DEFAULT_IMAGE for each folder?
This is not supported.


RE: Default Selected Item in Menu - asheroto - 08-25-2021

Okay, thank you.

Why does the default selected item change between screens?


RE: Default Selected Item in Menu - asheroto - 11-19-2021

bump

How does Ventoy determine what to select by default on each screen?