imgui_focus_widget
Set keyboard focus to a widget in the specified window, ensuring it receives input on the next frame. Direct user interaction to the intended UI element.
Instructions
Set keyboard focus to a widget (it will receive focus on the next frame)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Widget ID to focus | |
| window | Yes | Window ID containing the widget |