PyTTFTextInputField
Properties
Section titled “Properties”Type: string
CaretIndex
Section titled “CaretIndex”Type: int
NumbersOnly
Section titled “NumbersOnly”Type: bool
AcceptKeyboardInput
Section titled “AcceptKeyboardInput”Type: bool
ConvertHtmlColors
Section titled “ConvertHtmlColors”Type: bool
No fields found.
No enums found.
Methods
Section titled “Methods”SetText
Section titled “SetText”(text)
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
text | string | ❌ No |
Return Type: void (Does not return anything)
SetPlaceholder
Section titled “SetPlaceholder”(text)
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
text | string | ❌ No |
Return Type: void (Does not return anything)
SetFocus
Section titled “SetFocus”Return Type: void (Does not return anything)
UpdateSize
Section titled “UpdateSize”(width, height)
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
width | int | ❌ No | |
height | int | ❌ No |
Return Type: void (Does not return anything)