mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Docs: correct doc-string for bl_run_operators_event_simulate
The event() action swapped type/value arguments.
This commit is contained in:
parent
4b8cf11fa5
commit
fe82b8d1e8
1 changed files with 3 additions and 3 deletions
|
|
@ -281,10 +281,10 @@ class action_handlers:
|
|||
yield dict(type='RET', value='TAP')
|
||||
|
||||
@staticmethod
|
||||
def event(*, value, type, ctrl=False, alt=False, shift=False, repeat=1, only_validate=False):
|
||||
def event(*, type, value, ctrl=False, alt=False, shift=False, repeat=1, only_validate=False):
|
||||
"""
|
||||
value: The event, typically key, e.g. 'ESC', 'RET', 'SPACE', 'A'.
|
||||
type: The event type, valid values include: 'PRESS', 'RELEASE', 'TAP'.
|
||||
type: The event, typically key, e.g. 'ESC', 'RET', 'SPACE', 'A'.
|
||||
value: The event type, valid values include: 'PRESS', 'RELEASE', 'TAP'.
|
||||
ctrl: Control modifier.
|
||||
alt: Alt modifier.
|
||||
shift: Shift modifier.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue