enum ImGui::ImGuiDragDropFlags
Overview
Defined in:
types.crEnum Members
-
None =
0
-
SourceNoPreviewTooltip =
1
-
Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior.
-
SourceNoDisableHover =
2
-
By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item.
-
SourceNoHoldToOpenOthers =
4
-
Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.
-
SourceAllowNullID =
8
-
Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit.
-
SourceExtern =
16
-
External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously.
-
SourceAutoExpirePayload =
32
-
Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)
-
AcceptBeforeDelivery =
1024
-
AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered.
-
AcceptNoDrawDefaultRect =
2048
-
Do not draw the default highlight rectangle when hovering over target.
-
AcceptNoPreviewTooltip =
4096
-
Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
-
AcceptPeekOnly =
3072
-
For peeking ahead and inspecting the payload before delivery.
-
All =
7231
Instance Method Summary
- #accept_before_delivery?
- #accept_no_draw_default_rect?
- #accept_no_preview_tooltip?
- #accept_peek_only?
- #none?
- #source_allow_null_id?
- #source_auto_expire_payload?
- #source_extern?
- #source_no_disable_hover?
- #source_no_hold_to_open_others?
- #source_no_preview_tooltip?