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?
Returns
trueif this enum value containsAllowWhenBlockedByActiveItem -
#allow_when_blocked_by_popup?
Returns
trueif this enum value containsAllowWhenBlockedByPopup -
#allow_when_disabled?
Returns
trueif this enum value containsAllowWhenDisabled -
#allow_when_overlapped?
Returns
trueif this enum value containsAllowWhenOverlapped -
#allow_when_overlapped_by_item?
Returns
trueif this enum value containsAllowWhenOverlappedByItem -
#allow_when_overlapped_by_window?
Returns
trueif this enum value containsAllowWhenOverlappedByWindow -
#any_window?
Returns
trueif this enum value containsAnyWindow -
#child_windows?
Returns
trueif this enum value containsChildWindows -
#delay_none?
Returns
trueif this enum value containsDelayNone -
#delay_normal?
Returns
trueif this enum value containsDelayNormal -
#delay_short?
Returns
trueif this enum value containsDelayShort -
#for_tooltip?
Returns
trueif this enum value containsForTooltip -
#no_nav_override?
Returns
trueif this enum value containsNoNavOverride -
#no_popup_hierarchy?
Returns
trueif this enum value containsNoPopupHierarchy -
#no_shared_delay?
Returns
trueif this enum value containsNoSharedDelay -
#none?
Returns
trueif this enum value containsNone -
#rect_only?
Returns
trueif this enum value containsRectOnly -
#root_and_child_windows?
Returns
trueif this enum value containsRootAndChildWindows -
#root_window?
Returns
trueif this enum value containsRootWindow -
#stationary?
Returns
trueif this enum value containsStationary
Instance Method Detail
Returns true if this enum value contains AllowWhenBlockedByActiveItem
Returns true if this enum value contains AllowWhenOverlappedByItem
Returns true if this enum value contains AllowWhenOverlappedByWindow