Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SWindowTitleBarArea
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWindowTitleBarArea.h |
| Include | #include "Widgets/Layout/SWindowTitleBarArea.h" |
Syntax
class SWindowTitleBarArea : public SPanel
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlot | ChildSlot |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | SetContent
(
const TSharedRef< SWidget >& InContent |
See the Content slot. | |
| void | SetCustomStyleForWindowButtons
(
const FButtonStyle& InMinimizeButtonStyle, |
||
| void | SetGameWindow
(
TSharedPtr< SWindow > Window |
||
| void | SetHAlign
(
EHorizontalAlignment HAlign |
See HAlign argument | |
| void | SetIsCloseButtonActive
(
bool bIsAcive |
||
| void | SetOnCloseButtonClickedDelegate
(
FSimpleDelegate InOnCloseCuttonClicked |
||
| void | SetPadding
(
TAttribute< FMargin > InPadding |
See Padding attribute | |
| void | SetRequestToggleFullscreenCallback
(
FSimpleDelegate InRequestToggleFullscreen |
||
| void | SetVAlign
(
EVerticalAlignment VAlign |
See VAlign argument | |
| void | SetWindowButtonsVisibility
(
bool bIsVisible |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. | |
| FChildren * | GetChildren () |
All widgets must provide a way to access their children in a layout-agnostic way. | |
| EWindowZone::Type | Called when the mouse is moved over the widget's window, to determine if we should report whether OS-specific features should be active at this location (such as a title bar grip, system menu, etc.) Usually you should not need to override this function. | ||
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. | |
| FReply | OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
Called when a mouse button is double clicked. Override this in derived classes. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Typedefs
| Name | Description |
|---|---|
| FSlot |