Blender V5.3
blender::BlenderAppTranslations Struct Reference

Public Attributes

PyObject_HEAD const char * context_separator
PyObject * contexts
PyObject * contexts_C_to_py
PyObject * py_messages

Detailed Description

Definition at line 44 of file bpy_app_translations.cc.

Member Data Documentation

◆ context_separator

PyObject_HEAD const char* blender::BlenderAppTranslations::context_separator

The string used to separate context from actual message in PY_TRANSLATE RNA props.

Definition at line 47 of file bpy_app_translations.cc.

◆ contexts

PyObject* blender::BlenderAppTranslations::contexts

A "named tuple" (StructSequence actually...) containing all C-defined contexts.

Definition at line 49 of file bpy_app_translations.cc.

Referenced by blender::app_translations_free(), and blender::app_translations_new().

◆ contexts_C_to_py

PyObject* blender::BlenderAppTranslations::contexts_C_to_py

A readonly mapping {C context id: python id} (actually, a MappingProxy).

Definition at line 51 of file bpy_app_translations.cc.

Referenced by blender::app_translations_free(), and blender::app_translations_new().

◆ py_messages

PyObject* blender::BlenderAppTranslations::py_messages

A Python dictionary containing all registered Python dictionaries (order is more or less random, first match wins!).

Definition at line 56 of file bpy_app_translations.cc.

Referenced by blender::app_translations_free(), blender::app_translations_new(), blender::app_translations_py_messages_register(), and blender::app_translations_py_messages_unregister().


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