Blender V5.0
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 47 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 50 of file bpy_app_translations.cc.

◆ contexts

PyObject* BlenderAppTranslations::contexts

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

Definition at line 52 of file bpy_app_translations.cc.

◆ contexts_C_to_py

PyObject* BlenderAppTranslations::contexts_C_to_py

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

Definition at line 54 of file bpy_app_translations.cc.

◆ 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 59 of file bpy_app_translations.cc.


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