enum ImGui::ImGuiHoveredFlags

Overview

enum ImGuiHoveredFlags_

Defined in:

types.cr

Enum 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

NoNavOverride = 2048

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).

NoSharedDelay = 131072

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)

Instance Method Summary

Instance Method Detail

def allow_when_blocked_by_active_item? #

[View source]
def allow_when_blocked_by_popup? #

[View source]
def allow_when_disabled? #

[View source]
def allow_when_overlapped? #

[View source]
def allow_when_overlapped_by_item? #

[View source]
def allow_when_overlapped_by_window? #

[View source]
def any_window? #

[View source]
def child_windows? #

[View source]
def delay_none? #

[View source]
def delay_normal? #

[View source]
def delay_short? #

[View source]
def for_tooltip? #

[View source]
def no_nav_override? #

[View source]
def no_popup_hierarchy? #

[View source]
def no_shared_delay? #

[View source]
def none? #

[View source]
def rect_only? #

[View source]
def root_and_child_windows? #

[View source]
def root_window? #

[View source]
def stationary? #

[View source]