Navigation
API > API/Plugins > API/Plugins/SlateScriptingCommands > API/Plugins/SlateScriptingCommands/UUICommandsScriptingSubsystem
References
| Module | SlateScriptingCommands |
| Header | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Public/UICommandsScriptingSubsystem.h |
| Include | #include "UICommandsScriptingSubsystem.h" |
| Source | /Engine/Plugins/Slate/SlateScripting/Source/SlateScriptingCommands/Private/UICommandsScriptingSubsystem.cpp |
void RegisterCommandListForContext
&40;
const FName ContextName,
TSharedRef< FUICommandList > CommandList
&41;
Remarks
Registers a command list in the given context. Optionally registering the context itself if it does not exist Note the context should already be existing and registered through the binding manager.
This should be called by modules and tools looking to expose there command lists to the subsystem
Parameters
| Name | Description |
|---|---|
| ContextName | The context name as defined in the binding manager |
| CommandList | The command list to register in this context |