luciasoftware/lucia

menu callback questions

SeanTolstoyevski opened this issue · 0 comments

Hi,

This is not an error. I want to ask you something I can't do.

I can't find which item of the menu I've created is selected.
I use the lucia.Menu class.

Here's my sample menu list:
start game
test headphones
exit
...

Selected menu item:
start game: enter

Then I want to create a new menu.

But I couldn't tell which menu was selected from this menu list.

The sample file is here: https://gist.github.com/SeanTolstoyevski/1ecfd70126aa2d7649d93bb12167376d/raw/d494f990f853dcc16e38b133a139d8a29d8d6779/menu_callback_unanderstand.py
I wanted to do this for the "exit" element.
I'd appreciate it if you could tell me how to complete my example.

I don't understand English very well. Can you please write by giving examples?

Yours.