358 {
360
361 if ( current_menu )
362 {
363 Widget widget_root = current_menu.GetLayoutRoot();
364
365 if ( widget_root )
366 {
369
370 Print( widget_root.GetName() +
" ("+ widget_root.GetTypeName() +
")");
371
373
375 }
376 }
377 }
proto native UIManager GetUIManager()
void DumpWidget(Widget w, int tabs)
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.