UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
SMenuOwner.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
9
14{
15public:
18 SLATE_DEFAULT_SLOT( FArguments, Content )
20
21 SLATE_API void Construct(const FArguments& InArgs);
22
23public:
29 SLATE_API void SetSummonedMenu( TSharedRef< SMenuAnchor > InMenuAnchor );
30
31
37 SLATE_API TSharedPtr< const SMenuAnchor > GetOpenMenu() const;
38
43
47};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define SLATE_END_ARGS()
Definition DeclarativeSyntaxSupport.h:116
#define SLATE_DEFAULT_SLOT(DeclarationType, SlotName)
Definition DeclarativeSyntaxSupport.h:444
Definition SCompoundWidget.h:22
Definition SMenuOwner.h:14
SLATE_BEGIN_ARGS(SMenuOwner)
Definition SMenuOwner.h:16
TWeakPtr< SMenuAnchor > SummonedMenuAnchor
Definition SMenuOwner.h:46
SLATE_API void Construct(const FArguments &InArgs)
Definition SMenuOwner.cpp:5
SLATE_API TSharedPtr< const SMenuAnchor > GetOpenMenu() const
Definition SMenuOwner.cpp:18
SLATE_API void CloseSummonedMenus()
Definition SMenuOwner.cpp:29
SLATE_API void SetSummonedMenu(TSharedRef< SMenuAnchor > InMenuAnchor)
Definition SMenuOwner.cpp:13
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition SharedPointer.h:1295