379 {
380 UIScriptedMenu current_menu =
g_Game.GetUIManager().GetMenu();
381
382 if ( current_menu )
383 {
384 Widget widget_root = current_menu.GetLayoutRoot();
385
386 if ( widget_root )
387 {
390
391 Print( widget_root.GetName() +
" ("+ widget_root.GetTypeName() +
")");
392
394
396 }
397 }
398 }
void DumpWidget(Widget w, int tabs)
proto void Print(void var)
Prints content of variable to console/log.