Navigation
API > API/Editor > API/Editor/SequencerWidgets
Inheritance Hierarchy
- TSharedFromThis< FPendingWidgetFocus >
- FPendingWidgetFocus
References
| Module | SequencerWidgets |
| Header | /Engine/Source/Editor/SequencerWidgets/Public/WidgetFocusUtils.h |
| Include | #include "WidgetFocusUtils.h" |
Syntax
class FPendingWidgetFocus : public TSharedFromThis< FPendingWidgetFocus >
Remarks
FPendingWidgetFocus is a utility class that stores a pending focus function when a SWidget is hovered over. It aims to provide a way to focus on a widget without having to actually click on it. The focus function is stored on the mouse enter event and will only be executed if a key down event is sent while the widget is hovered. If the mouse leave event is called without any key down event having been called, the function is reset and the focus is not modified at all.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPendingWidgetFocus
(
const TArray< FName >& InTypesKeepingFocus |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Enable
(
const bool InEnabled |
||
| bool | IsEnabled () |
||
| FPendingWidgetFocus | |||
| void | |||
| void | SetPendingFocusIfNeeded
(
const TWeakPtr< SWidget >& InWidget |