ItemTreeCallbackData Class Reference

#include <customgui_itemtree_utils.h>

Detailed Description

Carries the context and result of an item-tree callback.

The item-tree GUI fills this structure before sending MSG_ITEMTREE_CALLBACK to the tree owner. The meaning of data, typedata, and ret depends on type.

Public Member Functions

 ItemTreeCallbackData (_DONTCONSTRUCT v)
 
 ItemTreeCallbackData ()
 

Public Attributes

ItemTreeNode * node
 
ItemTreeData * item
 
ItemTreeNodeData * nodedata
 
BaseDocument * doc
 
Int32 id
 
Int32 type
 
BaseContainer * data
 
Int32 ret
 
Int32 flags
 
GeUserArea * garea
 
iBaseCustomGui * gui
 
void * typedata
 
TreeViewCustomGui * tree
 

Constructor & Destructor Documentation

◆ ItemTreeCallbackData() [1/2]

Prevents construction of callback data with the internal constructor marker.

Parameters
[in]vInternal construction marker.

◆ ItemTreeCallbackData() [2/2]

Initializes empty callback data.

Member Data Documentation

◆ node

ItemTreeNode* node

Node involved in the callback.

◆ item

ItemTreeData* item

Item-tree data associated with the callback.

◆ nodedata

ItemTreeNodeData* nodedata

Payload of node.

◆ doc

Document in which the callback is handled.

◆ id

Int32 id

Callback-specific ID, such as a column or menu ID.

◆ type

Int32 type

ITEMTREE_CALLBACK_* value describing the callback.

◆ data

Callback-specific input data.

◆ ret

Int32 ret

Callback result interpreted by the item-tree implementation.

◆ flags

Int32 flags

Callback-specific flags.

◆ garea

GeUserArea* garea

User area associated with the callback.

◆ gui

iBaseCustomGui* gui

Custom GUI receiving or sending the callback.

◆ typedata

void* typedata

Pointer to callback-specific typed data.

◆ tree

Tree-view GUI associated with the callback.