Blender V5.3
blender::ui::BlockInteraction_Handle Struct Reference

Public Attributes

BlockInteraction_Params params
void * user_data
int user_count

Detailed Description

Definition at line 258 of file interface_handlers.cc.

Member Data Documentation

◆ params

◆ user_count

int blender::ui::BlockInteraction_Handle::user_count

This is shared between HandleButtonData and #uiAfterFunc, the last user runs the end callback and frees the data.

This is needed as the order of freeing changes depending on accepting/canceling the operation.

Definition at line 268 of file interface_handlers.cc.

Referenced by blender::ui::apply_but_func(), blender::ui::apply_but_funcs_after(), and blender::ui::block_interaction_begin_ensure().

◆ user_data

void* blender::ui::BlockInteraction_Handle::user_data

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