/Engine/Source/Runtime/Slate/Public/Framework/Application/MenuStack.h
Pushes a new menu onto the stack. The widget path will be searched for existing menus and the new menu will be parented appropriately. Menus are always auto-sized. Use fixed-size content if a fixed size is required.
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IMenu](API\Runtime\Slate\Framework\Application\IMenu) > Push ( const [FWidgetPath](API\Runtime\SlateCore\Layout\FWidgetPath) & InOwnerPath, const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > & InContent, const [UE::Slate::FDeprecateVector2DParameter](API\Runtime\SlateCore\Types\FDeprecateVector2DParameter) & SummonLocation, const [FPopupTransitionEffect](API\Runtime\Slate\Framework\Application\FPopupTransitionEffect) & TransitionEffect, const bool bFocusImmediately, const [UE::Slate::FDeprecateVector2DParameter](API\Runtime\SlateCore\Types\FDeprecateVector2DParameter) & SummonLocationSize, [TOptional](API\Runtime\Core\IO\TOptional)< EPopupMethod > InMethod, const bool bIsCollapsedByParent, const bool bEnablePerPixelTransparency )