KeyConfigurations(bpy_struct)¶
base class — bpy_struct
- class bpy.types.KeyConfigurations(bpy_struct)¶
Collection of KeyConfigs
- addon¶
Key configuration that can be extended by add-ons, and is added to the active configuration when handling events
- Type:
KeyConfig
, (readonly)
- user¶
Final key configuration that combines keymaps from the active and add-on configurations, and can be edited by the user
- Type:
KeyConfig
, (readonly)
- new(name)¶
new
- Parameters:
name (string, (never None)) – Name
- Returns:
Key Configuration, Added key configuration
- Return type:
- remove(keyconfig)¶
remove
- Parameters:
keyconfig (
KeyConfig
, (never None)) – Key Configuration, Removed key configuration
- find_item_from_operator(idname, *, context='INVOKE_DEFAULT', properties=None, include={'ACTIONZONE', 'KEYBOARD', 'MOUSE', 'NDOF'}, exclude={})¶
find_item_from_operator
- Parameters:
idname (string, (never None)) – Operator Identifier
context (enum in Operator Context Items, (optional)) – context
include (enum set in Event Type Mask Items, (optional)) – Include
exclude (enum set in Event Type Mask Items, (optional)) – Exclude
- Return (keymap, item):
keymap,
KeyMap
item,
KeyMapItem
- update(*, keep_properties=False)¶
update
- Parameters:
keep_properties (boolean, (optional)) – Keep Properties, Operator properties are kept to allow the operators to be registered again in the future
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Struct
subclass
- classmethod bl_rna_get_subclass_py(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type