Package bpy :: Module types :: Class KeyConfig
[hide private]
[frames] | no frames]

Class KeyConfig

The Key Configuration Object

Input configuration, including keymaps.

References

Instance Methods [hide private]
KeyMap
add_keymap(name, space_type, region_type, modal)
add_keymap
KeyMap
find_keymap(name, space_type, region_type)
find_keymap
KeyMap
find_keymap_modal(name)
find_keymap_modal
Instance Variables [hide private]
Collection of KeyMap (readonly) keymaps
Key maps configured as part of this configuration.
string name
Name of the key configuration.
Method Details [hide private]

add_keymap(name, space_type, region_type, modal)

 

add_keymap

Parameters:
  • region_type (enum)
  • space_type (enum)
  • name (string)
  • modal (boolean)
Returns: KeyMap
Added key map.

find_keymap(name, space_type, region_type)

 

find_keymap

Parameters:
  • region_type (enum)
  • space_type (enum)
  • name (string)
Returns: KeyMap
Corresponding key map.

find_keymap_modal(name)

 

find_keymap_modal

Parameters:
  • name (string)
Returns: KeyMap
Corresponding key map.

Instance Variable Details [hide private]

name

Name of the key configuration. (maximum length of 64)
Type:
string