This commit is contained in:
Kovid Goyal 2022-09-14 19:28:42 +05:30
parent d16f111bb8
commit 1f38680cb5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -71,9 +71,9 @@ class InterfaceAction(QObject):
#: key is held down.
auto_repeat = False
#: Of the form: (text, icon_path, tooltip, keyboard shortcut)
#: icon, tooltip and keyboard shortcut can be None
#: shortcut must be a string, None or tuple of shortcuts.
#: Of the form: (text, icon_path, tooltip, keyboard shortcut).
#: icon, tooltip and keyboard shortcut can be None.
#: keyboard shortcut must be either a string, None or tuple of shortcuts.
#: If None, a keyboard shortcut corresponding to the action is not
#: registered. If you pass an empty tuple, then the shortcut is registered
#: with no default key binding.