-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect if an applet has been removed from the panel #7
Comments
Hm. Can I ask the use case? |
sure. Trying to find a method to remove a custom keybinding - when the applet is active its easy enough to add the keybinding via the applet init. If the applet is subsequently removed, that keybinding should be removed. |
Oh so you're trying to do it during the lifecycle of the applet, not detect other applets? You could hook up the |
correct - applet looking after itself. oddly it doesnt appear that destroy is being invoked on either the applet nor plugin objects. |
I agree with @fossfreedom .Can you add method to detect if the applet is deleted from panel? |
Looking to create a test python applet which will invoke an action when the applet is removed from the panel.
Any thoughts how to-do this?
The text was updated successfully, but these errors were encountered: