Situation is like this: I am writing a plugin that needs to:
- Open quick panel
- On hover of first item, focus other group
- Open in that group
- Restore focus to quick panel input so I can move to next item in list and so on...
I did solve 1-3 but the 4th one gives me troubles. Is there a way to do so?
You need to get the view associated with the quick panel. The method show_quick_panel doesn't returns the view, but you can get it with using the method on_activated with a EventListener plugin.
This method (on_activated) is called when you focus any view (tab, console, quick_panel...). So what this plugin will do is capture the view associated with the quick panel.
Example plugin to get the view:
Now in your plugin you need to tell the eventListener when the actived view corresponds to the quick panel in order to capture it. Example of what you need in your plugin:
Result: