wantTextInput
Widgets that accept text input should call this on frames they have focus.
It communicates:
- text input should happen (maybe shows an on screen keyboard)
- rect on screen (position possible IME window)
Only valid between Window.beginand Window.end.
Parameters
- r:Rect.Natural
- Rect.Natural
Source
Implementation
pub fn wantTextInput(r: Rect.Natural) void {
const cw = currentWindow();
cw.text_input_rect = r;
}