popup_menu items
Hi All,
I want to use an array as my popup_menu items. The Index of my array is coming from a different popup_menu item.
In other words, items of my second popup_menu should be changed according to selected item of the first popup_menu.
I need to use bind 'my_value' as my array index like in below.
f:popup_menu {
width = 250, -- the shared binding
height = 180, -- the shared binding
items = MyArray[bind 'my_value'],
},
How can I achieve to do this?
Thanks in advance
