Navigation
API > API/Developer > API/Developer/ToolMenus
Represents a Named ToolMenuSection with zero or more (sorted) Menu Entries.
| Name | FMenuSection |
| Type | struct |
| Header File | /Engine/Source/Developer/ToolMenus/Public/Tests/ToolMenusTestUtilities.h |
| Include Path | #include "Tests/ToolMenusTestUtilities.h" |
Syntax
struct FMenuSection : public TSharedFromThis< FMenuSection >
Inheritance Hierarchy
- TSharedFromThis< FMenuSection > → FMenuSection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMenuSection
(
const FName InName, |
Tests/ToolMenusTestUtilities.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Entries | TArray< TSharedRef< FMenuEntryBase > > | Tests/ToolMenusTestUtilities.h | ||
| Label | TOptional< FString > | Tests/ToolMenusTestUtilities.h | ||
| Name | FName | Tests/ToolMenusTestUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< FMenuSection > WithEntries
(
const TArray< TSharedRef< FMenuEntryBase > >& InEntries |
Tests/ToolMenusTestUtilities.h | ||
TSharedRef< FMenuSection > WithLabel
(
const FString& InLabel |
Tests/ToolMenusTestUtilities.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FToolMenuSection& InToolMenuSection |
Only compare top-level item, ignore children (entries). | Tests/ToolMenusTestUtilities.h |