Module |
|
Header |
/Engine/Source/Editor/MainFrame/Public/Interfaces/IMainFrameModule.h |
Include |
#include "Interfaces/IMainFrameModule.h" |
TSharedRef< SWidget > MakeMainTabMenu
(
const TSharedPtr< FTabManager > & TabManager,
const FName MenuName,
FToolMenuContext & ToolMenuContext
) const
Generates a menu that's just like the "main menu" widget above, except it also includes some infrequently used commands that are better off only shown in a single "main tab" within the application
The newly-created menu widget
Parameter |
Description |
---|---|
TabManager |
The tab manager for the tab you're creating the menu for. This is needed so we can populate the layout menus correctly. |
Extender |
Extender object used to customize the main frame menu |