API reference
Preparing search index…

ImGui.ImGuiInputFlags

Const
ImGuiInputFlags: Readonly<
    {
        None: 0;
        Repeat: 1;
        RouteActive: 1024;
        RouteAlways: 8192;
        RouteFocused: 2048;
        RouteFromRootWindow: 131072;
        RouteGlobal: 4096;
        RouteOverActive: 32768;
        RouteOverFocused: 16384;
        RouteUnlessBgFocused: 65536;
        Tooltip: 262144;
    },
> = ...

Shortcut repetition and routing; select only one Route policy.

Type declaration

  • ReadonlyNone: 0

    Use default input behavior; shortcuts use focused routing.

  • ReadonlyRepeat: 1

    Report repeated presses while a key or button is held.

  • ReadonlyRouteActive: 1024

    Route only to the active item.

  • ReadonlyRouteAlways: 8192

    Poll keys directly without registering a route.

  • ReadonlyRouteFocused: 2048

    Prefer the deepest focused window, with active items taking priority.

  • ReadonlyRouteFromRootWindow: 131072

    Evaluate routing from the root window instead of the current window.

  • ReadonlyRouteGlobal: 4096

    Global route that yields to registered focused or active routes.

  • ReadonlyRouteOverActive: 32768

    Global route requests priority over active items; may disrupt text editing.

  • ReadonlyRouteOverFocused: 16384

    Global route outranks focused windows, but not their active items.

  • ReadonlyRouteUnlessBgFocused: 65536

    Suppress a global route when no ImGui window has focus.

  • ReadonlyTooltip: 262144

    SetNextItemShortcut(): show the shortcut in a hover tooltip.

Source & inheritance

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