object obj; ; obj = element.args().caller();//получить вызвавший объект if(obj) info(obj.name()); else info("из главного меню");