SVirtualWindow

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SVirtualWindow.h

Include

#include "Widgets/SVirtualWindow.h"

Syntax

class SVirtualWindow : public SWindow

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

void

 

SetIsFocusable

(
    bool bFocusable
)

Public function

void

 

SetShouldResolveDeferred

(
    bool bResolve
)

We allow users to control the resolve policy for deferred content.

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

The window's desired size takes into account the ratio between the slate units and the pixel size

Public function Virtual Const

void

 

OnArrangeChildren

(
    const FGeometry& AllottedGeometry,
    FArrangedChildren& ArrangedChildre...
)

Compute the Geometry of all the children and add populate the ArrangedChildren list with their values.

Public function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children.

Public function Virtual Const

FPopupMethod...

 

OnQueryPopupMethod()

Popups can manifest in a NEW OS WINDOW or via an OVERLAY in an existing window.

Public function Virtual

bool

 

OnVisualizeTooltip

(
    const TSharedPtr< SWidget >& Toolt...
)

Called when Slate wants to visualize tooltip.

Public function Virtual Const

bool

 

SupportsKeyboardFocus()

Checks to see if this widget supports keyboard focus. Override this in derived classes.

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss