Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FSlateApplication
Description
Dismisses a menu and all its children. The menu is determined by looking for menus in the parent chain of the widget.
| Name | DismissMenuByWidget |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
| Include Path | #include "Framework/Application/SlateApplication.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
void DismissMenuByWidget
(
const TSharedRef < SWidget > & InWidgetInMenu
)
Parameters
| Name | Remarks |
|---|---|
| InWidgetInMenu | The widget whose path is search upwards for a menu. That menu will then be dismissed. |