void RegisterCustomWidget ( [FOnGenerateCustomWidget](API\Editor\PinnedCommandList\IPinnedCommandList\FOnGenerateCustomWidget) InOnGenerateCustomWidget, [FName](API\Runtime\Core\UObject\FName) InCustomWidgetIdentifier, [TAttribute](API\Runtime\Core\Misc\TAttribute)< [FText](API\Runtime\Core\Internationalization\FText) > InCustomWidgetDisplayName, [FMargin](API\Runtime\SlateCore\Layout\FMargin) InCustomWidgetPadding, bool bInShowLabel )