API reference
Preparing search index…

ImGui.ImGuiHoveredFlags

Const
ImGuiHoveredFlags: Readonly<
    {
        AllowWhenBlockedByActiveItem: 128;
        AllowWhenBlockedByPopup: 32;
        AllowWhenDisabled: 1024;
        AllowWhenOverlapped: 768;
        AllowWhenOverlappedByItem: 256;
        AllowWhenOverlappedByWindow: 512;
        AnyWindow: 4;
        ChildWindows: 1;
        DelayNone: 16384;
        DelayNormal: 65536;
        DelayShort: 32768;
        ForTooltip: 4096;
        NoNavOverride: 2048;
        None: 0;
        NoPopupHierarchy: 8;
        NoSharedDelay: 131072;
        RectOnly: 928;
        RootAndChildWindows: 3;
        RootWindow: 2;
        Stationary: 8192;
    },
> = ...

Hover-query scope, obstruction exceptions and timing. Use IO capture flags, not hover queries, to route raw mouse input.

Type declaration

  • ReadonlyAllowWhenBlockedByActiveItem: 128

    Ignore blocking by another active item.

  • ReadonlyAllowWhenBlockedByPopup: 32

    Ignore blocking by a non-modal popup.

  • ReadonlyAllowWhenDisabled: 1024

    Item queries: allow disabled items to count as hovered.

  • ReadonlyAllowWhenOverlapped: 768

    Item queries: accept overlap by either items or windows.

  • ReadonlyAllowWhenOverlappedByItem: 256

    Item queries: accept overlap by another item in AllowOverlap mode.

  • ReadonlyAllowWhenOverlappedByWindow: 512

    Item queries: accept overlap by another window.

  • ReadonlyAnyWindow: 4

    Window queries: test any ImGui window.

  • ReadonlyChildWindows: 1

    Window queries: include hovered child windows.

  • ReadonlyDelayNone: 16384

    Item queries: report hover immediately, without a hover delay.

  • ReadonlyDelayNormal: 65536

    Item queries: wait HoverDelayNormal, shared across items. Add Stationary to also require a pause in mouse movement.

  • ReadonlyDelayShort: 32768

    Item queries: wait HoverDelayShort, shared across items. Add Stationary to also require a pause in mouse movement.

  • ReadonlyForTooltip: 4096

    Use the style's tooltip hover policy for mouse or navigation.

  • ReadonlyNoNavOverride: 2048

    Item queries: use mouse position even during keyboard/gamepad navigation.

  • ReadonlyNone: 0

    Require normal, unobstructed hover over the item or window.

  • ReadonlyNoPopupHierarchy: 8

    Window queries: do not treat popup emitters as parents.

  • ReadonlyNoSharedDelay: 131072

    Item queries: restart the delay instead of sharing it between items.

  • ReadonlyRectOnly: 928

    Ignore popup/active-item blocking and item/window overlap. Does not enable disabled items or bypass modal blocking.

  • ReadonlyRootAndChildWindows: 3

    Window queries: test the root and all its children.

  • ReadonlyRootWindow: 2

    Window queries: start from the topmost parent.

  • ReadonlyStationary: 8192

    Require HoverStationaryDelay once; then movement on the same target is OK.

Source & inheritance

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