26 bpy_rna_uilayout_introspect_doc,
27 ".. method:: introspect()\n"
29 " Return a list of dictionaries containing a textual representation of the UI layout.\n"
31 " :rtype: list[dict[str, Any]]\n");
37 std::string expr = layout_introspect(layout);
40 PyObject *
result = PyRun_String(expr.c_str(), Py_eval_input, py_dict, py_dict);
47# pragma clang diagnostic push
48# pragma clang diagnostic ignored "-Wcast-function-type"
50# pragma GCC diagnostic push
51# pragma GCC diagnostic ignored "-Wcast-function-type"
59 bpy_rna_uilayout_introspect_doc,
64# pragma clang diagnostic pop
66# pragma GCC diagnostic pop
Read Blender memory allocation and freeing.
PyObject * PyC_MainModule_Backup()
PyDoc_STRVAR(bpy_bm_new_doc, ".. function:: new(*, use_operators=True)\n" "\n" " :param use_operators: Support calling operators in :mod:`bmesh.ops` (uses some " "extra memory per vert/edge/face).\n" " :type use_operators: bool\n" " :return: Return a new, empty BMesh.\n" " :rtype: :class:`bmesh.types.BMesh`\n")
PyObject * PyC_DefaultNameSpace(const char *filename)
static PyObject * bpy_rna_uilayout_introspect(PyObject *self)
PyMethodDef BPY_rna_uilayout_introspect_method_def
void PyC_MainModule_Restore(PyObject *main_mod)
PyObject_HEAD std::optional< PointerRNA > ptr