enum ImGui::ImGuiHoveredFlags
Overview
Defined in:
types.crEnum Members
-
None =
0
-
Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
-
ChildWindows =
1
-
IsWindowHovered() only: Return true if any children of the window is hovered
-
RootWindow =
2
-
IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
-
AnyWindow =
4
-
IsWindowHovered() only: Return true if any window is hovered
-
NoPopupHierarchy =
8
-
IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
-
AllowWhenBlockedByPopup =
32
-
Return true even if a popup window is normally blocking access to this item/window
-
AllowWhenBlockedByActiveItem =
128
-
Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.
-
AllowWhenOverlappedByItem =
256
-
IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item.
-
AllowWhenOverlappedByWindow =
512
-
IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window.
-
AllowWhenDisabled =
1024
-
IsItemHovered() only: Return true even if the item is disabled
-
IsItemHovered() only: Disable using gamepad/keyboard navigation state when active, always query mouse
-
AllowWhenOverlapped =
768
-
RectOnly =
928
-
RootAndChildWindows =
3
-
ForTooltip =
4096
-
Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence.
-
Stationary =
8192
-
Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) at least one time. After this, can move on same item/window. Using the stationary test tends to reduces the need for a long delay.
-
DelayNone =
16384
-
IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this.
-
DelayShort =
32768
-
IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).
-
DelayNormal =
65536
-
IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).
-
IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays)
-
All =
262063
Instance Method Summary
- #allow_when_blocked_by_active_item?
- #allow_when_blocked_by_popup?
- #allow_when_disabled?
- #allow_when_overlapped?
- #allow_when_overlapped_by_item?
- #allow_when_overlapped_by_window?
- #any_window?
- #child_windows?
- #delay_none?
- #delay_normal?
- #delay_short?
- #for_tooltip?
- #no_nav_override?
- #no_popup_hierarchy?
- #no_shared_delay?
- #none?
- #rect_only?
- #root_and_child_windows?
- #root_window?
- #stationary?