Base Widget
BaseWidget is the base for all widget classes.
🦠 Functions
Animate
— Returns AnimationObject.
Getter
Setter
EndValue
Duration
Completed
EasingFunction
RemoveFromParent
GetParent
SetPos
NewPos
GetPos
— Returns Vector2D.
SetScale
NewScale
GetScale
— Returns Vector2D.
SetShear
NewShear
GetShear
— Returns Vector2D.
SetAngle
NewAngle
GetAngle
— Returns number.
SetOpacity
NewOpacity
GetOpacity
— Returns number.
SetVisibility
NewVisibility
GetVisibility
— Returns WGui.Visibility.
IsVisible
— Returns boolean.
IsHovered
— Returns boolean.
SetIsEnabled
IsEnabled
GetIsEnabled
— Returns boolean.
SetPadding
Padding
GetPadding
— Returns FMargin.
SetToolTipText
Text
SetToolTipWidget
Widget
SetCursor
Cursor
SetClipping
Clipping
SetDragKey
Key
CreateDragDropOperation
Tag
Payload
DragVisual
Pivot
Offset
InvalidateLayout
ForceVolatile
bForce
SetRenderPaint
RenderPaint
DrawLine
Start
End
TintColor
Thickness
DrawSpline
Start
StartDir
End
EndDir
TintColor
Thickness
🚀 Events
On Paint
On Mouse Move
Triggered when user mouse moved within it.
On Mouse Button Down
Triggered when a mouse button was pressed within it.
On Mouse Button Up
Triggered when a mouse button was released within it.
On Mouse Enter
Triggered when the cursor has entered it.
On Mouse Leave
Triggered when the cursor has leaved it.
On Mouse Wheel
Triggered when the mouse wheel is spun.
On Focus Received
Triggered when keyboard focus is given to this widget.
On Focus Lost
Triggered when this widget loses focus.
On Drag Detected
Triggered when this widget detects a drag.
On Drag Enter
Triggered during drag and drop when the drag enters the widget.
On Drag Leave
Triggered during drag and drop when the drag leaves the widget.
On Drag Cancelled
Triggered when the user cancels the drag operation.
On Drag Drop
Triggered when the user is dropping something onto a widget.
Last updated