Curses-UI - Menubar callbacks

Posted on Thu Apr 24 10:50:38 2008 by sentenzux
Menubar callbacks
Hello, Could someone perhaps explain how to use callbacks with menubar? The doc show a definition of a menu with string as values, but how can I get these values as a parameter to a function?
I've successfully used the function calls, but what I get as argument is only a reference to the menu itself and I didn't find a way to find what was selected.

Thanks
Write a response