private static void HandleAllTabcontainerEvent(WidgetEvent ev)
    {
        UIWidget widget = (UIWidget)ev.Target;

        if (widget.Equals(null))
        {
            return;
        }

        if (widget.GetId() == "UITabContainerDemo" && ev.Type == UI_EVENT_TYPE.UI_EVENT_TYPE_TAB_CHANGED)
        {
            UITabContainer tcx = (UITabContainer)widget;   // check the focus & stuff, or it gets a little spammy
            AtomicMain.AppLog("UITabContainer event : " + widget.GetId() + " UI_EVENT_TYPE_TAB_CHANGED to " + tcx.GetCurrentPage().ToString()
                              + " id: " + tcx.GetCurrentPageWidget().GetId());
        }
    }