Custom editor windows are useful when you have a new tool with user-configurable settings, or want to display some information to people using your customized editor.
Be sure to have an editor module by following the recipe earlier in this chapter before you start.
Read through either the Creating new menu entries or Creating new toolbar buttons recipes so that you can create a button within the editor that will launch our new window.
Inside your command's bound function, add the following code:
TSharedRef<SWindow> CookbookWindow = SNew(SWindow) .Title(FText::FromString(TEXT("Cookbook Window"))) .ClientSize(FVector2D(800, 400)) .SupportsMaximize(false) .SupportsMinimize(false) [ SNew(SVerticalBox) +SVerticalBox::Slot() .HAlign(HAlign_Center) .VAlign(VAlign_Center) [ SNew(STextBlock) .Text(FText::FromString(TEXT("Hello from Slate"))) ] ]; IMainFrameModule& MainFrameModule = FModuleManager::LoadModuleChecked<IMainFrameModule...