| FSlateApplicationBase::SetKeyboardFocus()
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h |
Include |
#include "Framework/Application/SlateApplication.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp |
virtual bool SetKeyboardFocus
(
const FWidgetPath & InFocusPath,
const EFocusCause InCause
)
Sets keyboard focus to the specified widget. The widget must be allowed to receive keyboard focus.
true if the widget is now focused, false otherwise.
Parameter |
Description |
---|---|
InWidget |
WidgetPath to the Widget to being focused |
InCause |
The reason that keyboard focus is changing |