Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/SMenuAnchor.h |
Include |
#include "Widgets/Input/SMenuAnchor.h" |
A PopupAnchor summons a Popup relative to its content. Summoning a popup relative to the cursor is accomplished via the application.
Name | Description | ||
---|---|---|---|
|
bApplyWidgetStyleToMenu |
Should we paint the popup using the received InWidgetStyle? |
|
|
bDismissedThisTick |
Was the menu just dismissed this tick? |
|
|
bFitInWindow |
Should the menu anchor fit inside the window? |
|
|
bIsCollapsedByParent |
Whether this menu should be collapsed when its parent gets focus |
|
|
bShouldDeferPaintingAfterWindowContent |
Should the menu content painting be deferred? If not, the menu content will layer over the menu anchor, rather than above all window contents. |
|
|
bUseApplicationMenuStack |
Should the menu by created by the application stack code making it behave like and have the lifetime of a normal menu? |
|
|
TPanelChildren<... |
Children |
The currently arranged children in the menu anchor. |
|
LocalPopupPosition |
||
|
TSharedPtr< SWi... |
MenuContent |
Static menu content to use when the delegate used when OnGetMenuContent is not defined. |
|
Method |
Should we summon a new window for this popup or |
|
|
MethodInUse |
Method currently being used to show the popup. No value if popup is closed. |
|
|
OnGetMenuContent |
Callback invoked when the popup is being summoned |
|
|
OnMenuOpenChanged |
Callback invoked when the popup is being opened/closed |
|
|
TSharedPtr< IMe... |
OwnedMenuPtr |
An interface pointer to the menu object presenting this popup. |
|
TAttribute< EMe... |
Placement |
How should the popup be placed relative to the anchor. |
|
PopupMenuPtr |
An interface pointer to the menu object presenting this popup. |
|
|
PopupWindowPtr |
A pointer to the window presenting this popup. |
|
|
ScreenPopupPosition |
Screen-space version of LocalPopupPosition, also cached in Tick. |
|
|
TSharedPtr< SWi... |
WrappedContent |
MenuContent plus any extra wrapping widgets needed by the menu infrastructure. |
Name | Description | |
---|---|---|
|
SMenuAnchor() |
Name | Description | |
---|---|---|
|
~SMenuAnchor() |
Name | Description | ||
---|---|---|---|
|
ComputeNewWindowMenuPlacement ( |
Computes the placement geometry for menus displayed in a separately created window |
|
|
Construct ( |
Construct this widget |
|
|
DismissAllApplicationMenus() |
||
|
GetMenuPosition() |
||
|
HasOpenSubMenus() |
||
|
IsOpen() |
||
|
IsOpenAndReusingWindow() |
||
|
IsOpenViaCreatedWindow() |
||
|
OnMenuClosed ( |
Handler/callback called by menus created by this anchor, when they are dismissed |
|
|
ResetPopupMenuContent() |
Reset the popup state to prepopup. |
|
|
SetContent ( |
See Content Slot attribute |
|
|
SetFitInWindow ( |
||
|
SetIsOpen |
Open or close the popup |
|
|
SetMenuContent ( |
See MenuContent attribute |
|
|
SetMenuPlacement ( |
||
|
ShouldOpenDueToClick() |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
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. |
|
|
ComputeVolatility() |
Recomputes the volatility of the widget. |
|
|
FChildren &#... |
GetChildren() |
All widgets must provide a way to access their children in a layout-agnostic way. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
|
|
Tick ( |
Ticks this widget with Geometry. |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetMenuWindow() |
|
|
OnMenuDismissed() |
||
|
UsingApplicationMenuStack() |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FPopupPlacement |
Name |
Description |
---|---|
OpenApplicationMenus |