Blender  V3.3
Public Attributes | List of all members
wmDragActiveDropState Struct Reference

#include <WM_types.h>

Public Attributes

struct wmDropBoxactive_dropbox
 
struct ScrAreaarea_from
 
struct ARegionregion_from
 
struct bContextStoreui_context
 
const char * disabled_info
 
bool free_disabled_info
 

Detailed Description

Definition at line 1118 of file WM_types.h.

Member Data Documentation

◆ active_dropbox

struct wmDropBox* wmDragActiveDropState::active_dropbox

Informs which dropbox is activated with the drag item. When this value changes, the #draw_activate and #draw_deactivate dropbox callbacks are triggered.

Definition at line 1123 of file WM_types.h.

Referenced by wm_drag_draw_tooltip(), WM_drag_free(), and wm_drop_update_active().

◆ area_from

struct ScrArea* wmDragActiveDropState::area_from

If active_dropbox is set, the area it successfully polled in. To restore the context of it as needed.

Definition at line 1127 of file WM_types.h.

Referenced by wm_drop_update_active().

◆ disabled_info

const char* wmDragActiveDropState::disabled_info

Text to show when a dropbox poll succeeds (so the dropbox itself is available) but the operator poll fails. Typically the message the operator set with CTX_wm_operator_poll_msg_set().

Definition at line 1139 of file WM_types.h.

Referenced by dropbox_active(), ui_view_drop_poll(), wm_drag_draw_tooltip(), and WM_drag_free().

◆ free_disabled_info

bool wmDragActiveDropState::free_disabled_info

Definition at line 1140 of file WM_types.h.

Referenced by dropbox_active(), ui_view_drop_poll(), and WM_drag_free().

◆ region_from

struct ARegion* wmDragActiveDropState::region_from

If active_dropbox is set, the region it successfully polled in. To restore the context of it as needed.

Definition at line 1130 of file WM_types.h.

Referenced by wm_drop_update_active().

◆ ui_context

struct bContextStore* wmDragActiveDropState::ui_context

If active_dropbox is set, additional context provided by the active (i.e. hovered) button. Activated before context sensitive operations (polling, drawing, dropping).

Definition at line 1134 of file WM_types.h.

Referenced by dropbox_active(), WM_drag_free(), wm_drop_prepare(), wm_drop_update_active(), and wm_dropbox_invoke().


The documentation for this struct was generated from the following file: