Events¶
KeywordQueryEvent¶
ItemEnterEvent¶
Is triggered when selected item has action of type
ExtensionCustomAction
Whatever data you’ve passed to action will be available in in this class using methodget_data()
- Parameters:
data (str) –
- Returns:
whatever object you have passed to
ExtensionCustomAction
SystemExitEvent¶
Is triggered when extension is about to be terminated.
Your extension has 300ms to handle this event and shut down properly. After that it will be terminated with SIGKILL
PreferencesUpdateEvent¶
Is triggered when user updates preference through Preferences window
- Parameters:
id (str) –
old_value (str) –
new_value (str) –
PreferencesEvent¶
Is triggered on start
- Parameters:
preferences (dict) –