Blender V4.5
bContextPollMsgDyn_Params Struct Reference

#include <BKE_context.hh>

Public Attributes

char *(*) get_fn (bContext *C, void *user_data)
void(*) free_fn (bContext *C, void *user_data)
void * user_data

Detailed Description

Values to create the message that describes the reason poll failed.

Note
This must be called in the same context as the poll function that created it.

Definition at line 239 of file BKE_context.hh.

Member Data Documentation

◆ free_fn

void(*) bContextPollMsgDyn_Params::free_fn(bContext *C, void *user_data)

Optionally free the user-data.

Definition at line 243 of file BKE_context.hh.

Referenced by BPY_rna_operator_poll_message_set(), and CTX_wm_operator_poll_msg_clear().

◆ get_fn

char *(*) bContextPollMsgDyn_Params::get_fn(bContext *C, void *user_data)

The result is allocated.

Definition at line 241 of file BKE_context.hh.

Referenced by BPY_rna_operator_poll_message_set(), CTX_wm_operator_poll_msg_clear(), and CTX_wm_operator_poll_msg_get().

◆ user_data

void* bContextPollMsgDyn_Params::user_data

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