Python, how to get string from menu list

Wir haben aktuell ein Problem mit dem Board und arbeiten an der Lösung...
  • Hello.
    How i can get current menu item name(string from any opened list) in python from plugin?
    For example when menu is open and "cursor" is on Setup position i want to get string "Setup".


    Sorry for my english...

  • try


    Zitat


    retVal = self["list"].l.getCurrentSelection()[0][0]