|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_Editor.h>
The conditions that decide whether an input method should be active.
Reported through the callback you set with ulViewSetChangeEditableStateCallback(). An input method or on-screen keyboard should be active when both view_has_focus and is_mutable are true.
Public Attributes | |
| ULEditableType | type |
| The kind of element that holds keyboard focus. | |
| bool | is_mutable |
| Whether or not the focused element accepts typed text (false for a read-only or disabled text control, and always false when type is kEditableType_None or kEditableType_Other). | |
| bool | view_has_focus |
| Whether or not the View itself has input focus (see ulViewFocus() and ulViewUnfocus()). | |
| ULInputMode | input_mode |
| The focused element's inputmode hint. | |
| ULEnterKeyHint | enter_key_hint |
| The focused element's enterkeyhint. | |
| ULRect | bounds |
| The focused element's bounds in viewport CSS pixels (the same space as ulViewFireMouseEvent()). | |
| ULRect bounds |
The focused element's bounds in viewport CSS pixels (the same space as ulViewFireMouseEvent()).
All-zero when no element has focus.
| ULEnterKeyHint enter_key_hint |
The focused element's enterkeyhint.
| ULInputMode input_mode |
The focused element's inputmode hint.
| bool is_mutable |
Whether or not the focused element accepts typed text (false for a read-only or disabled text control, and always false when type is kEditableType_None or kEditableType_Other).
| ULEditableType type |
The kind of element that holds keyboard focus.
| bool view_has_focus |
Whether or not the View itself has input focus (see ulViewFocus() and ulViewUnfocus()).