Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SDockTab > API/Runtime/Slate/SDockTab/FArguments
Description
When the close button is pressed, checks whether the tab can be closed in that moment. Example: Show dialog and ask user whether they're sure to close.
| Name | OnCanCloseTab |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Docking/SDockTab.h |
| Include Path | #include "Widgets/Docking/SDockTab.h" |
WidgetArgsType & OnCanCloseTab
(
const FCanCloseTab & InDelegate
)