Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input
Inheritance Hierarchy
- SLeafWidget
- IVirtualKeyboardEntry
- SVirtualKeyboardEntry
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SVirtualKeyboardEntry.h |
| Include | #include "Widgets/Input/SVirtualKeyboardEntry.h" |
Syntax
class SVirtualKeyboardEntry :
public SLeafWidget,
public IVirtualKeyboardEntry
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Construct this widget | |
| bool | |||
| bool | |||
| void | Restores the text to the original state | ||
| void | SetFont
(
const TAttribute< FSlateFontInfo >& InNewFont |
Sets the font used to draw the text | |
| void | SetText
(
const TAttribute< FText >& InNewText |
Sets the text currently being edited |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
Computes the desired size of this widget (SWidget) | |
| void | OnFocusLost
(
const FFocusEvent& InFocusEvent |
Called when this widget loses the keyboard focus. This event does not bubble. | |
| FReply | OnFocusReceived
(
const FGeometry& MyGeometry, |
KEY INPUT Called when focus is given to this widget. This event does not bubble. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
Overwritten from SWidget. | |
| bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. | ||
| void | Ticks this widget. Override in derived classes, but always call the parent implementation. |
Overridden from IVirtualKeyboardEntry
| Type | Name | Description | |
|---|---|---|---|
| FText | GetHintText () |
Returns the hint text. | |
| bool | GetSelection
(
int& OutSelStart, |
||
| FText | GetText () |
Returns the text. | |
| FVirtualKeyboardOptions | |||
| EKeyboardType | Returns the virtual keyboard type. | ||
| bool | Returns whether the entry is multi-line | ||
| void | SetSelectionFromVirtualKeyboard
(
int InSelStart, |
||
| void | SetTextFromVirtualKeyboard
(
const FText& InNewText, |
Sets the text to that entered by the virtual keyboard |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |