|
Blender V4.3
|
#include <cstdlib>#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_userdef_types.h"#include "DNA_windowmanager_types.h"#include "BLI_string_utf8_symbols.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "BKE_keyconfig.h"#include "BKE_screen.hh"#include "BKE_workspace.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "rna_internal.hh"#include "WM_api.hh"#include "WM_types.hh"Go to the source code of this file.
Variables | |
| const EnumPropertyItem | rna_enum_wm_job_type_items [] |
| const EnumPropertyItem | rna_enum_event_type_items [] |
| const EnumPropertyItem | rna_enum_event_value_items [] |
| const EnumPropertyItem | rna_enum_event_direction_items [] |
| const EnumPropertyItem | rna_enum_keymap_propvalue_items [] |
| const EnumPropertyItem | rna_enum_event_type_mask_items [] |
| const EnumPropertyItem | rna_enum_operator_type_flag_items [] |
| const EnumPropertyItem | rna_enum_operator_return_items [] |
| const EnumPropertyItem | rna_enum_operator_property_tag_items [] |
| const EnumPropertyItem | rna_enum_wm_report_items [] |
|
static |
Definition at line 2256 of file rna_wm.cc.
References BLT_I18NCONTEXT_ID_WINDOWMANAGER, BLT_I18NCONTEXT_UI_EVENTS, KM_ALT, KM_CTRL, KM_OSKEY, KM_SHIFT, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_POINTER, PROP_STRING, PROP_XYZ_LENGTH, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_default(), RNA_def_property_float_funcs(), RNA_def_property_int_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_string_funcs(), RNA_def_property_struct_type(), RNA_def_property_translation_context(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), RNA_define_verify_sdna(), rna_enum_event_direction_items, rna_enum_event_type_items, and rna_enum_event_value_items.
Referenced by RNA_def_wm().
|
static |
Definition at line 2773 of file rna_wm.cc.
References BLT_I18NCONTEXT_ID_WINDOWMANAGER, BLT_I18NCONTEXT_UI_EVENTS, KEYCONF_USER, KEYMAP_CHILDREN_EXPANDED, KEYMAP_EXPANDED, KEYMAP_MODAL, KEYMAP_USER_MODIFIED, KM_ANY, KM_MOD_HELD, KMI_EXPANDED, KMI_INACTIVE, KMI_REPEAT_IGNORE, KMI_TYPE_KEYBOARD, KMI_TYPE_MOUSE, KMI_TYPE_NDOF, KMI_TYPE_TEXTINPUT, KMI_TYPE_TIMER, KMI_USER_MODIFIED, PROP_BOOLEAN, PROP_COLLECTION, PROP_EDITABLE, PROP_ENUM, PROP_INT, PROP_NO_DEG_UPDATE, PROP_NONE, PROP_POINTER, PROP_STRING, PROP_STRING_SEARCH_SORT, PROP_STRING_SEARCH_SUGGESTION, RNA_api_keyconfig(), RNA_api_keymap(), RNA_api_keymapitem(), rna_def_keymap_items(), RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_collection_sdna(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_int_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_string_search_func(), RNA_def_property_struct_type(), RNA_def_property_translation_context(), RNA_def_property_ui_icon(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_def_wm_keymaps(), rna_enum_event_direction_items, rna_enum_event_type_items, rna_enum_event_value_items, rna_enum_keymap_propvalue_items, rna_enum_region_type_items, and rna_enum_space_type_items.
Referenced by RNA_def_wm().
|
static |
Definition at line 2750 of file rna_wm.cc.
References PROP_NONE, PROP_REGISTER, PROP_STRING, RNA_def_property(), RNA_def_property_flag(), RNA_def_property_string_sdna(), RNA_def_struct(), RNA_def_struct_flag(), RNA_def_struct_idprops_func(), RNA_def_struct_refine_func(), RNA_def_struct_register_funcs(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), RNA_define_verify_sdna(), and STRUCT_NO_DATABLOCK_IDPROPERTIES.
Referenced by RNA_def_wm().
|
static |
Definition at line 2726 of file rna_wm.cc.
References RNA_api_keymapitems(), RNA_def_property_srna(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_keyconfig().
|
static |
Definition at line 2175 of file rna_wm.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, RNA_api_macro(), rna_def_operator_common(), RNA_def_struct(), RNA_def_struct_flag(), RNA_def_struct_refine_func(), RNA_def_struct_register_funcs(), RNA_def_struct_sdna(), RNA_def_struct_translation_context(), RNA_def_struct_ui_text(), and STRUCT_PUBLIC_NAMESPACE_INHERIT.
Referenced by RNA_def_wm().
|
static |
Definition at line 2131 of file rna_wm.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, PROP_COLLECTION, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, RNA_api_operator(), rna_def_operator_common(), RNA_def_property(), RNA_def_property_collection_sdna(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_flag(), RNA_def_struct_idprops_func(), RNA_def_struct_property_tags(), RNA_def_struct_refine_func(), RNA_def_struct_register_funcs(), RNA_def_struct_sdna(), RNA_def_struct_translation_context(), RNA_def_struct_ui_text(), rna_enum_operator_property_tag_items, STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID, STRUCT_NO_DATABLOCK_IDPROPERTIES, and STRUCT_PUBLIC_NAMESPACE_INHERIT.
Referenced by RNA_def_wm().
|
static |
Definition at line 2042 of file rna_wm.cc.
References BKE_ST_MAXNAME, BLT_I18NCONTEXT_OPERATOR_DEFAULT, OP_MAX_TYPENAME, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_ENUM_FLAG, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_REGISTER, PROP_REGISTER_OPTIONAL, PROP_STRING, RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_string_default(), RNA_def_property_string_funcs(), RNA_def_property_string_maxlength(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_struct_name_property(), RNA_DYN_DESCR_MAX, rna_enum_operator_type_flag_items, and rna_enum_window_cursor_items.
Referenced by rna_def_macro_operator(), and rna_def_operator().
|
static |
Definition at line 2243 of file rna_wm.cc.
References PROP_FILENAME, PROP_IDPROPERTY, PROP_STRING, RNA_def_property(), RNA_def_property_flag(), RNA_def_property_ui_text(), RNA_def_struct(), and RNA_def_struct_ui_text().
Referenced by RNA_def_wm().
|
static |
expose Operator.options as its own type so we can control each flags use (some are read-only).
Definition at line 2006 of file rna_wm.cc.
References OP_IS_INVOKE, OP_IS_MODAL_CURSOR_REGION, OP_IS_MODAL_GRAB_CURSOR, OP_IS_REPEAT, OP_IS_REPEAT_LAST, PROP_BOOLEAN, PROP_EDITABLE, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_wm().
|
static |
Definition at line 2198 of file rna_wm.cc.
References PROP_EDITABLE, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_STRING, RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_wm().
|
static |
Definition at line 2224 of file rna_wm.cc.
References PROP_FLOAT, PROP_IDPROPERTY, PROP_NONE, PROP_XYZ, RNA_def_property(), RNA_def_property_array(), RNA_def_property_flag(), RNA_def_property_ui_text(), RNA_def_struct(), and RNA_def_struct_ui_text().
Referenced by RNA_def_wm().
|
static |
Definition at line 2497 of file rna_wm.cc.
References rna_def_popup_menu_wrapper().
Referenced by RNA_def_wm().
|
static |
Definition at line 2492 of file rna_wm.cc.
References rna_def_popup_menu_wrapper().
Referenced by RNA_def_wm().
|
static |
Definition at line 2464 of file rna_wm.cc.
References PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_pointer_funcs(), RNA_def_property_struct_type(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and RNA_define_verify_sdna().
Referenced by rna_def_piemenu(), rna_def_popovermenu(), and rna_def_popupmenu().
|
static |
Definition at line 2487 of file rna_wm.cc.
References rna_def_popup_menu_wrapper().
Referenced by RNA_def_wm().
|
static |
Definition at line 2434 of file rna_wm.cc.
References PROP_EDITABLE, PROP_FLOAT, PROP_NONE, RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_float_sdna(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and RNA_define_verify_sdna().
Referenced by RNA_def_wm().
|
static |
Definition at line 2532 of file rna_wm.cc.
References BLT_I18NCONTEXT_ID_SCREEN, NC_SCREEN, ND_LAYER, PROP_COLLECTION, PROP_CONTEXT_UPDATE, PROP_EDITABLE, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_UNSIGNED, RNA_api_window(), RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_collection_funcs(), RNA_def_property_flag(), RNA_def_property_int_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_struct_type(), RNA_def_property_translation_context(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_def_window_stereo3d().
Referenced by RNA_def_wm().
|
static |
Definition at line 2502 of file rna_wm.cc.
References PROP_BOOLEAN, PROP_ENUM, PROP_NONE, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_stereo3d_anaglyph_type_items, rna_enum_stereo3d_display_items, rna_enum_stereo3d_interlace_type_items, S3D_INTERLACE_SWAP, and S3D_SIDEBYSIDE_CROSSEYED.
Referenced by rna_def_window().
|
static |
Definition at line 2673 of file rna_wm.cc.
References PROP_COLLECTION, PROP_EDITABLE, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, RNA_api_wm(), RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_def_wm_keyconfigs(), and STRUCT_ID_REFCOUNT.
Referenced by RNA_def_wm().
| void RNA_def_wm | ( | BlenderRNA * | brna | ) |
Definition at line 3072 of file rna_wm.cc.
References rna_def_event(), rna_def_keyconfig(), rna_def_keyconfig_prefs(), rna_def_macro_operator(), rna_def_operator(), rna_def_operator_filelist_element(), rna_def_operator_options_runtime(), rna_def_operator_type_macro(), rna_def_operator_utils(), rna_def_piemenu(), rna_def_popovermenu(), rna_def_popupmenu(), rna_def_timer(), rna_def_window(), and rna_def_windowmanager().
|
static |
Definition at line 2627 of file rna_wm.cc.
References PROP_EDITABLE, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, RNA_api_keyconfigs(), RNA_def_property(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_srna(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_windowmanager().
|
static |
Definition at line 2738 of file rna_wm.cc.
References RNA_api_keymaps(), RNA_def_property_srna(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_keyconfig().
| const EnumPropertyItem rna_enum_event_direction_items[] |
Definition at line 477 of file rna_wm.cc.
Referenced by RNA_api_keymapitems(), rna_def_event(), and rna_def_keyconfig().
| const EnumPropertyItem rna_enum_event_type_items[] |
Definition at line 206 of file rna_wm.cc.
Referenced by event_ids_from_type_and_value(), RNA_api_keymapitems(), RNA_api_window(), rna_def_event(), rna_def_keyconfig(), and WM_key_event_string().
| const EnumPropertyItem rna_enum_event_type_mask_items[] |
Definition at line 496 of file rna_wm.cc.
Referenced by RNA_api_keyconfigs(), and RNA_api_keymapitems().
| const EnumPropertyItem rna_enum_event_value_items[] |
This is needed for km.keymap_items.new value argument, to accept values from different types.
Definition at line 465 of file rna_wm.cc.
Referenced by event_ids_from_type_and_value(), RNA_api_keymapitems(), RNA_api_window(), rna_def_event(), and rna_def_keyconfig().
| const EnumPropertyItem rna_enum_keymap_propvalue_items[] |
Definition at line 490 of file rna_wm.cc.
Referenced by rna_def_keyconfig().
| const EnumPropertyItem rna_enum_operator_property_tag_items[] |
Definition at line 584 of file rna_wm.cc.
Referenced by rna_def_operator(), and wm_operatortype_append__begin().
| const EnumPropertyItem rna_enum_operator_return_items[] |
Definition at line 562 of file rna_wm.cc.
Referenced by pyop_call(), RNA_api_operator(), rna_def_gizmo(), and rna_generic_op_invoke().
| const EnumPropertyItem rna_enum_operator_type_flag_items[] |
Definition at line 517 of file rna_wm.cc.
Referenced by pyop_get_bl_options(), and rna_def_operator_common().
| const EnumPropertyItem rna_enum_wm_job_type_items[] |
Job types for use in the bpy.app.is_job_running(job_type) call.
This is a subset of the WM_JOB_TYPE_... anonymous enum defined in WM_api.hh. It is intentionally kept as a subset, such that by default how jobs are handled is kept as an "internal implementation detail" of Blender, rather than a public, reliable part of the API.
This array can be expanded on a case-by-case basis, when there is a clear and testable use case.
Definition at line 197 of file rna_wm.cc.
Referenced by bpy_app_is_job_running().
| const EnumPropertyItem rna_enum_wm_report_items[] |
Definition at line 594 of file rna_wm.cc.
Referenced by RNA_api_macro(), RNA_api_operator(), and rna_def_render_engine().