/// <summary>@return true if panel contains this widget</summary> public bool HasChild(UWidget Content) { CheckIsValid(); int ___ret = HasChild(_this.Get(), Content); return(___ret != 0); }
public UPanelWidget FindWidgetParent(UWidget Widget, out int OutChildIndex) { return(new UPanelWidget() { _this = FindWidgetParent(this, Widget, out OutChildIndex) }); }
/// <summary>Gets the index of a specific child widget</summary> public int GetChildIndex(UWidget Content) { CheckIsValid(); int ___ret = GetChildIndex(_this.Get(), Content); return(___ret); }
/// <summary> /// Gets the slot object on the child widget as a Uniform Grid Slot, allowing you to manipulate layout information. /// @param Widget The child widget of a uniform grid panel. /// </summary> public static UUniformGridSlot SlotAsUniformGridSlot(UWidget Widget) { IntPtr ___ret = SlotAsUniformGridSlot(IntPtr.Zero, Widget); if (___ret == IntPtr.Zero) { return(null); } UUniformGridSlot ___ret2 = new UUniformGridSlot() { _this = ___ret }; return(___ret2); }
/// <summary> /// Gets the slot object on the child widget as a Horizontal Box Slot, allowing you to manipulate its information. /// @param Widget The child widget of a Horizontal Box. /// </summary> public static UHorizontalBoxSlot SlotAsHorizontalBoxSlot(UWidget Widget) { IntPtr ___ret = SlotAsHorizontalBoxSlot(IntPtr.Zero, Widget); if (___ret == IntPtr.Zero) { return(null); } UHorizontalBoxSlot ___ret2 = new UHorizontalBoxSlot() { _this = ___ret }; return(___ret2); }
/// <summary> /// Gets the slot object on the child widget as a Canvas Slot, allowing you to manipulate layout information. /// @param Widget The child widget of a canvas panel. /// </summary> public static UCanvasPanelSlot SlotAsCanvasSlot(UWidget Widget) { IntPtr ___ret = SlotAsCanvasSlot(IntPtr.Zero, Widget); if (___ret == IntPtr.Zero) { return(null); } UCanvasPanelSlot ___ret2 = new UCanvasPanelSlot() { _this = ___ret }; return(___ret2); }
/// <summary> /// Gets the slot object on the child widget as a Overlay Slot, allowing you to manipulate layout information. /// @param Widget The child widget of a overlay panel. /// </summary> public static UOverlaySlot SlotAsOverlaySlot(UWidget Widget) { IntPtr ___ret = SlotAsOverlaySlot(IntPtr.Zero, Widget); if (___ret == IntPtr.Zero) { return(null); } UOverlaySlot ___ret2 = new UOverlaySlot() { _this = ___ret }; return(___ret2); }
/// <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); }
public UVerticalBoxSlot AddChildToVerticalBox(UWidget Content) { CheckIsValid(); IntPtr ___ret = AddChildToVerticalBox(_this.Get(), Content); if (___ret == IntPtr.Zero) { return(null); } UVerticalBoxSlot ___ret2 = new UVerticalBoxSlot() { _this = ___ret }; return(___ret2); }
public UWidget GetValue() { CheckIsValid(); IntPtr ___ret = GetValue(_this.Get()); if (___ret == IntPtr.Zero) { return(null); } UWidget ___ret2 = new UWidget() { _this = ___ret }; return(___ret2); }
/// <summary> /// Gets the widget at an index. /// @param Index The index of the widget. /// @return The widget at the given index, or nothing if there is no widget there. /// </summary> public UWidget GetChildAt(int Index) { CheckIsValid(); IntPtr ___ret = GetChildAt(_this.Get(), Index); if (___ret == IntPtr.Zero) { return(null); } UWidget ___ret2 = new UWidget() { _this = ___ret }; return(___ret2); }
public extern UPanelSlot SetContent(UWidget Content);
/// <summary>Gets the index of a specific child widget</summary> public extern int GetChildIndex(UWidget Content);
/// <summary>@return true if panel contains this widget</summary> public extern bool HasChild(UWidget Content);
/// <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 extern UPanelSlot AddChild(UWidget Content);
/// <summary> /// Ask Slate to detect if a user starts dragging in this widget later. Slate internally tracks the movement /// and if it surpasses the drag threshold, Slate will send an OnDragDetected event to the widget. /// @param WidgetDetectingDrag Detect dragging in this widget /// @param DragKey This button should be pressed to detect the drag /// </summary> public static FEventReply DetectDrag(out FEventReply Reply, UWidget WidgetDetectingDrag, FKey DragKey) { FEventReply ___ret = DetectDrag(IntPtr.Zero, out Reply, WidgetDetectingDrag, ref DragKey); return(___ret); }
public static FEventReply SetUserFocus(out FEventReply Reply, UWidget FocusWidget, bool bInAllUsers = false) { FEventReply ___ret = SetUserFocus(IntPtr.Zero, out Reply, FocusWidget, bInAllUsers?1:0); return(___ret); }
/// <summary>Sets a custom widget as the tooltip of the widget.</summary> public void SetToolTip(UWidget Widget) { CheckIsValid(); SetToolTip(_this.Get(), Widget); }
public extern UHorizontalBoxSlot AddChildToHorizontalBox(UWidget Content);
//{ // CheckIsValid(); // return RemoveWidget(this, Widget); //} ///** Gets the parent widget of a given widget, and potentially the child index. */ ////[MethodImplAttribute(MethodImplOptions.InternalCall)] //extern static IntPtr FindWidgetParent(IntPtr _This, IntPtr Widget, out int OutChildIndex); public extern UPanelWidget FindWidgetParent(UWidget Widget, out int OutChildIndex);
//{ // return Cast<T>(FindWidget(Name)); //} ///** Removes the widget from the hierarchy and all sub widgets. */ ////[MethodImplAttribute(MethodImplOptions.InternalCall)] //extern static bool RemoveWidget(IntPtr _This, IntPtr Widget); public extern bool RemoveWidget(UWidget Widget);
public static FEventReply CaptureMouse(out FEventReply Reply, UWidget CapturingWidget) { FEventReply ___ret = CaptureMouse(IntPtr.Zero, out Reply, CapturingWidget); return(___ret); }
public extern UVerticalBoxSlot AddChildToVerticalBox(UWidget Content);
public extern UUniformGridSlot AddChildToUniformGrid(UWidget Content);
/// <summary>Scrolls the ScrollBox to the widget during the next layout pass.</summary> public extern void ScrollWidgetIntoView(UWidget WidgetToFind, bool AnimateScroll = true);
/// <summary> /// Given the pointer event, emit the DetectDrag reply if the provided key was pressed. /// If the DragKey is a touch key, that will also automatically work. /// @param PointerEvent The pointer device event coming in. /// @param WidgetDetectingDrag Detect dragging in this widget. /// @param DragKey This button should be pressed to detect the drag, won't emit the DetectDrag FEventReply unless this is pressed. /// </summary> public static FEventReply DetectDragIfPressed(FPointerEvent PointerEvent, UWidget WidgetDetectingDrag, FKey DragKey) { FEventReply ___ret = DetectDragIfPressed(IntPtr.Zero, ref PointerEvent, WidgetDetectingDrag, ref DragKey); return(___ret); }
public extern UCanvasPanelSlot AddChildToCanvas(UWidget Content);
/// <summary> /// Removes a specific widget from the container. /// @return true if the widget was found and removed. /// </summary> public extern bool RemoveChild(UWidget Content);
/// <summary>Scrolls the ScrollBox to the widget during the next layout pass.</summary> public void ScrollWidgetIntoView(UWidget WidgetToFind, bool AnimateScroll = true) { CheckIsValid(); ScrollWidgetIntoView(_this.Get(), WidgetToFind, AnimateScroll?1:0); }
public bool RemoveWidget(UWidget Widget) { CheckIsValid(); return(RemoveWidget(this, Widget)); }