◆ set_text() [1/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
Set the text as entered by the user.
When the user causes a text field to commit, by pressing enter, tab, or clicking outside the field and when the text was validated the widget will call this function to commit the text with the delegate.
- Precondition
- text Must have been validated as correct.
- Parameters
-
| text | The text entered by the user. |
Reimplemented from tt::text_field_delegate.
◆ set_text() [2/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
Set the text as entered by the user.
When the user causes a text field to commit, by pressing enter, tab, or clicking outside the field and when the text was validated the widget will call this function to commit the text with the delegate.
- Precondition
- text Must have been validated as correct.
- Parameters
-
| text | The text entered by the user. |
Reimplemented from tt::text_field_delegate.
◆ subscribe() [1/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
◆ subscribe() [2/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
◆ text() [1/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
Get the text to show in the text field.
When the user is not editing the text the text-field will request what to show using this function.
- Returns
- The text to show in the text field.
Reimplemented from tt::text_field_delegate.
◆ text() [2/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
Get the text to show in the text field.
When the user is not editing the text the text-field will request what to show using this function.
- Returns
- The text to show in the text field.
Reimplemented from tt::text_field_delegate.
◆ unsubscribe() [1/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
◆ unsubscribe() [2/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
◆ validate() [1/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
Validate the text field.
- Parameters
-
| text | The text entered by the user into the text field. |
- Returns
- no-value when valid, or a label to display to the user when invalid.
Reimplemented from tt::text_field_delegate.
◆ validate() [2/2]
template<std::integral T>
|
|
inlineoverridevirtualnoexcept |
Validate the text field.
- Parameters
-
| text | The text entered by the user into the text field. |
- Returns
- no-value when valid, or a label to display to the user when invalid.
Reimplemented from tt::text_field_delegate.
The documentation for this class was generated from the following file: