Blender
V3.3
|
#include <stdlib.h>
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_userdef_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BKE_keyconfig.h"
#include "BKE_workspace.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "WM_api.h"
#include "WM_types.h"
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_tags [] |
const EnumPropertyItem | rna_enum_wm_report_items [] |
|
static |
Definition at line 2055 of file rna_wm.c.
References BLT_I18NCONTEXT_ID_WINDOWMANAGER, BLT_I18NCONTEXT_UI_EVENTS, KM_ALT, KM_CTRL, KM_OSKEY, KM_SHIFT, NULL, 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 2537 of file rna_wm.c.
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, NULL, 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 2514 of file rna_wm.c.
References NULL, 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 2490 of file rna_wm.c.
References NULL, 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 1975 of file rna_wm.c.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, NULL, 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 1931 of file rna_wm.c.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, NULL, 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_clear_flag(), 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_tags, STRUCT_NO_CONTEXT_WITHOUT_OWNER_ID, STRUCT_NO_DATABLOCK_IDPROPERTIES, STRUCT_PUBLIC_NAMESPACE_INHERIT, and STRUCT_UNDO.
Referenced by RNA_def_wm().
Definition at line 1844 of file rna_wm.c.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, NULL, 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 2042 of file rna_wm.c.
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 1808 of file rna_wm.c.
References NULL, 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 1998 of file rna_wm.c.
References NULL, 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 2023 of file rna_wm.c.
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 2286 of file rna_wm.c.
References rna_def_popup_menu_wrapper().
Referenced by RNA_def_wm().
|
static |
Definition at line 2281 of file rna_wm.c.
References rna_def_popup_menu_wrapper().
Referenced by RNA_def_wm().
|
static |
Definition at line 2253 of file rna_wm.c.
References NULL, 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 2276 of file rna_wm.c.
References rna_def_popup_menu_wrapper().
Referenced by RNA_def_wm().
|
static |
Definition at line 2223 of file rna_wm.c.
References NULL, 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 2322 of file rna_wm.c.
References NC_SCREEN, ND_LAYER, NULL, 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_flag(), RNA_def_property_int_sdna(), 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_sdna(), RNA_def_struct_ui_text(), and rna_def_window_stereo3d().
Referenced by RNA_def_wm().
|
static |
Definition at line 2291 of file rna_wm.c.
References NULL, 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_clear_flag(), 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, S3D_SIDEBYSIDE_CROSSEYED, and STRUCT_UNDO.
Referenced by rna_def_window().
|
static |
Definition at line 2448 of file rna_wm.c.
References NULL, PROP_COLLECTION, PROP_EDITABLE, 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_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 2833 of file rna_wm.c.
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 2402 of file rna_wm.c.
References NULL, 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 2502 of file rna_wm.c.
References NULL, 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 389 of file rna_wm.c.
Referenced by RNA_api_keymapitems(), rna_def_event(), and rna_def_keyconfig().
const EnumPropertyItem rna_enum_event_type_items[] |
Definition at line 145 of file rna_wm.c.
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 408 of file rna_wm.c.
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 377 of file rna_wm.c.
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[] |
const EnumPropertyItem rna_enum_operator_property_tags[] |
Definition at line 485 of file rna_wm.c.
Referenced by rna_def_operator(), and wm_operatortype_append__begin().
const EnumPropertyItem rna_enum_operator_return_items[] |
Definition at line 463 of file rna_wm.c.
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 429 of file rna_wm.c.
Referenced by 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.h
. 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 136 of file rna_wm.c.
Referenced by bpy_app_is_job_running().
const EnumPropertyItem rna_enum_wm_report_items[] |
Definition at line 495 of file rna_wm.c.
Referenced by RNA_api_macro(), RNA_api_operator(), and rna_def_render_engine().