Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SMenuOwner.h |
| Include | #include "Widgets/Layout/SMenuOwner.h" |
Syntax
class SMenuOwner : public SCompoundWidget
Remarks
Any widget that wants to own lists of items that may have sub-menus that should be handled in the same way as multibox menus (mouse can cross other items without sub-menu closing)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TWeakPtr< SMenuAnchor > | SummonedMenuAnchor | For menu bar widgets, this stores a weak reference to the last pull-down or sub-menu that was summoned. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | For menu bar widget, closes any open pull-down or sub menus | ||
| void | Construct
(
const FArguments& InArgs |
||
| TSharedPtr< const SMenuAnchor > | GetOpenMenu () |
For menu bar or sub-menu widgets, returns the currently open menu, if there is one open | |
| void | SetSummonedMenu
(
TSharedRef< SMenuAnchor > InMenuAnchor |
For menu widgets, tells the owner widget about a currently active pull-down menu |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |