Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
Sets whether children are allowed to be accessible or not. Warning: Calling this function after accessibility is enabled will cause the accessibility tree to become unsynced.
| Name | SetCanChildrenBeAccessible |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
void SetCanChildrenBeAccessible
(
bool InCanChildrenBeAccessible
)
Parameters
| Name | Remarks |
|---|---|
| InCanChildrenBeAccessible | Whether children should be accessible or not. |