|
Blender V4.3
|
#include <Python.h>#include "BLI_utildefines.h"#include "WM_types.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "bpy_gizmo_wrap.hh"#include "bpy_intern_string.hh"#include "bpy_rna.hh"#include "../generic/py_capi_rna.hh"#include "../generic/python_compat.hh"Go to the source code of this file.
Functions | |
Gizmo | |
| static bool | bpy_gizmotype_target_property_def (wmGizmoType *gzt, PyObject *item) |
| static void | gizmo_properties_init (wmGizmoType *gzt) |
| void | BPY_RNA_gizmo_wrapper (wmGizmoType *gzt, void *userdata) |
Gizmo Group | |
| static void | gizmogroup_properties_init (wmGizmoGroupType *gzgt) |
| void | BPY_RNA_gizmogroup_wrapper (wmGizmoGroupType *gzgt, void *userdata) |
This file is so Python can define widget-group's that C can call into. The generic callback functions for Python widget-group are defines in 'rna_wm.cc', some calling into functions here to do python specific functionality.
bpy_operator_wrap.cc very closely. Keep in sync unless there is good reason not to! Definition in file bpy_gizmo_wrap.cc.
|
static |
Definition at line 40 of file bpy_gizmo_wrap.cc.
References params, PROP_FLOAT, PY_ARG_PARSER_HEAD_COMPAT, pyrna_enum_value_parse_string(), rna_enum_property_type_items, RNA_MAX_ARRAY_LENGTH, and WM_gizmotype_target_property_def().
Referenced by gizmo_properties_init().
| void BPY_RNA_gizmo_wrapper | ( | wmGizmoType * | gzt, |
| void * | userdata ) |
Definition at line 148 of file bpy_gizmo_wrap.cc.
References gizmo_properties_init(), RNA_def_struct_translation_context(), RNA_struct_translation_context(), wmGizmoType::srna, and wmGizmoType::struct_size.
| void BPY_RNA_gizmogroup_wrapper | ( | wmGizmoGroupType * | gzgt, |
| void * | userdata ) |
Definition at line 191 of file bpy_gizmo_wrap.cc.
References gizmogroup_properties_init(), RNA_def_struct_translation_context(), wmGizmoGroupType::rna_ext, RNA_struct_translation_context(), ExtensionRNA::srna, and wmGizmoGroupType::srna.
|
static |
Definition at line 96 of file bpy_gizmo_wrap.cc.
References bpy_gizmotype_target_property_def(), bpy_intern_str_bl_target_properties, ExtensionRNA::data, wmGizmoType::idname, pyrna_deferred_register_class(), RNA_def_struct_identifier_no_struct_map(), wmGizmoType::rna_ext, RNA_struct_blender_type_set(), ExtensionRNA::srna, and wmGizmoType::srna.
Referenced by BPY_RNA_gizmo_wrapper().
|
static |
Definition at line 175 of file bpy_gizmo_wrap.cc.
References ExtensionRNA::data, wmGizmoGroupType::idname, pyrna_deferred_register_class(), RNA_def_struct_identifier_no_struct_map(), wmGizmoGroupType::rna_ext, RNA_struct_blender_type_set(), ExtensionRNA::srna, and wmGizmoGroupType::srna.
Referenced by BPY_RNA_gizmogroup_wrapper().