Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SWindow
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SWindow::FArguments
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
| Include | #include "Widgets/SWindow.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SWindow >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | ActivationPolicy
(
EWindowActivationPolicy InArg |
When should this window be activated upon being shown? | |
| WidgetArgsType & | AdjustInitialSizeAndPositionForDPIScale
(
bool InArg |
If the initial ClientSize and ScreenPosition arguments should be automatically adjusted to account for DPI scale | |
| WidgetArgsType & | AutoCenter
(
EAutoCenter InArg |
The windows auto-centering mode. | |
| WidgetArgsType & | bDragAnywhere
(
bool InArg |
When true, the window can be dragged from anywhere. | |
| WidgetArgsType & | bManualManageDPI
(
bool InArg |
True if this window will self handle any eventual DPI adjustments | |
| WidgetArgsType & | What the initial size of the window should be. | ||
| NamedSlotProperty< FArguments > | Content () |
||
| WidgetArgsType & | CreateTitleBar
(
bool InArg |
True if we should initially create a traditional title bar area. | |
| WidgetArgsType & | FocusWhenFirstShown
(
bool InArg |
Should this window be focused immediately after it is shown? | |
| WidgetArgsType & | HasCloseButton
(
bool InArg |
Does this window have a close button? | |
| WidgetArgsType & | InitialOpacity
(
float InArg |
The initial opacity of the window | |
| WidgetArgsType & | IsInitiallyMaximized
(
bool InArg |
Is the window initially maximized | |
| WidgetArgsType & | IsInitiallyMinimized
(
bool InArg |
Is the window initially minimized | |
| WidgetArgsType & | IsPopupWindow
(
bool InArg |
True if this should be a 'pop-up' window | |
| WidgetArgsType & | IsTopmostWindow
(
bool InArg |
True if this window should always be on top of all other windows | |
| WidgetArgsType & | LayoutBorder
(
FMargin InArg |
The padding around the edges of the window applied to it's content. | |
| WidgetArgsType & | The biggest height this window can be in Desktop Pixel Units. | ||
| WidgetArgsType & | The biggest width this window can be in Desktop Pixel Units. | ||
| WidgetArgsType & | The smallest height this window can be in Desktop Pixel Units. | ||
| WidgetArgsType & | The smallest width this window can be in Desktop Pixel Units. | ||
| WidgetArgsType & | SaneWindowPlacement
(
bool InArg |
If the window appears off screen or is too large to safely fit this flag will force realistic constraints on the window and bring it back into view. | |
| WidgetArgsType & | Screen-space position where the window should be initially located. | ||
| WidgetArgsType & | ShouldPreserveAspectRatio
(
bool InArg |
Should this window preserve its aspect ratio when resized by user? | |
| WidgetArgsType & | SizingRule
(
ESizingRule InArg |
How the window should be sized | |
| WidgetArgsType & | Style
(
const FWindowStyle* InArg |
Style used to draw this window | |
| WidgetArgsType & | SupportsMaximize
(
bool InArg |
Can this window be maximized? | |
| WidgetArgsType & | SupportsMinimize
(
bool InArg |
Can this window be minimized? | |
| WidgetArgsType & | SupportsTransparency
(
FWindowTransparency InArg |
Should this window support transparency | |
| WidgetArgsType & | Title
(
const TAttribute< FText >& InAttribute |
Title of the window | |
| WidgetArgsType & | Type
(
EWindowType InArg |
Type of this window | |
| WidgetArgsType & | UseOSWindowBorder
(
bool InArg |
Use the default os look for the border of the window | |
| WidgetArgsType & | UserResizeBorder
(
FMargin InArg |
The margin around the edges of the window that will be detected as places the user can grab to resize the window. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArguments & | operator[]
(
const TSharedRef< SWidget >& InChild |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |