Example #1
0
 protected ToggleButtonWidget(ToggleButtonWidget other)
     : base(other)
 {
     TooltipTemplate  = other.TooltipTemplate;
     TooltipText      = other.TooltipText;
     TooltipContainer = other.TooltipContainer;
     tooltipContainer = Lazy.New(() =>
                                 Widget.RootWidget.GetWidget <TooltipContainerWidget>(TooltipContainer));
 }
Example #2
0
 protected ToggleButtonWidget(ToggleButtonWidget other)
     : base(other)
 {
     TooltipTemplate = other.TooltipTemplate;
     TooltipText = other.TooltipText;
     TooltipContainer = other.TooltipContainer;
     tooltipContainer = Lazy.New(() =>
         Ui.Root.GetWidget<TooltipContainerWidget>(TooltipContainer));
 }