Blender V4.3
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 40 of file bpy_app_translations.cc.

Member Data Documentation

◆ context_separator

PyObject_HEAD const char* BlenderAppTranslations::context_separator

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

Definition at line 43 of file bpy_app_translations.cc.

◆ contexts

PyObject* BlenderAppTranslations::contexts

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

Definition at line 45 of file bpy_app_translations.cc.

Referenced by app_translations_new().

◆ contexts_C_to_py

PyObject* BlenderAppTranslations::contexts_C_to_py

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

Definition at line 47 of file bpy_app_translations.cc.

Referenced by app_translations_new().

◆ py_messages

PyObject* BlenderAppTranslations::py_messages

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

Definition at line 52 of file bpy_app_translations.cc.

Referenced by app_translations_new().


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