예제 #1
0
/// <summary>
/// Adds a new child widget to the container.  Returns the base slot type,
/// requires casting to turn it into the type specific to the container.
/// </summary>
        public UPanelSlot AddChild(UWidget Content)
        {
            CheckIsValid();
            IntPtr ___ret = AddChild(_this.Get(), Content);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UPanelSlot ___ret2 = new UPanelSlot()
            {
                _this = ___ret
            }; return(___ret2);
        }
예제 #2
0
        public UPanelSlot GetContentSlot()
        {
            CheckIsValid();
            IntPtr ___ret = GetContentSlot(_this.Get());

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            UPanelSlot ___ret2 = new UPanelSlot()
            {
                _this = ___ret
            }; return(___ret2);
        }