API reference
Preparing search index…

ImGui.ImGuiFocusedFlags

Const
ImGuiFocusedFlags: Readonly<
    {
        AnyWindow: 4;
        ChildWindows: 1;
        None: 0;
        NoPopupHierarchy: 8;
        RootAndChildWindows: 3;
        RootWindow: 2;
    },
> = ...

Scope of IsWindowFocused(); use IO capture flags to route raw input.

Type declaration

  • ReadonlyAnyWindow: 4

    Test whether any ImGui window is focused.

  • ReadonlyChildWindows: 1

    Include focused child windows.

  • ReadonlyNone: 0

    Test only the current window.

  • ReadonlyNoPopupHierarchy: 8

    Do not treat a popup's emitter as its parent.

  • ReadonlyRootAndChildWindows: 3

    Test the root window and all its children.

  • ReadonlyRootWindow: 2

    Start the test from the topmost parent.

Source & inheritance

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