API reference
Preparing search index…

ImGui.SetNextFrameWantCaptureKeyboard

  • Override keyboard input capture for the next frame.

    Parameters

    want_capture_keyboard
    boolean

    Override io.WantCaptureKeyboard on the next frame; this does not itself consume OS events.

    Returns

    void

    Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs).

    e.g. force capture keyboard when your widget is being hovered.

    This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0