/Engine/Source/Editor/UnrealEd/Public/Tools/ToolCompatible.h
Use this if your widget is created after your editor's mode manager
void SetParentToolkit ( [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [IToolkit](API\Editor\EditorFramework\Toolkits\IToolkit) > InParentToolkit )