Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/SCustomDialog > API/Developer/ToolWidgets/SCustomDialog/FButton
Description
Button role is used to determine whether the button should be triggered via the Cancel and Confirm hotkeys. The Cancel and Confirm roles should each only be used on a single button.
| Name | SetButtonRole |
| Type | function |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/Dialog/SCustomDialog.h |
| Include Path | #include "Dialog/SCustomDialog.h" |
FButton & SetButtonRole
(
const EButtonRole InButtonRole
)