I'm Unity Mail developer and I wonder if it's possible to add a shortcut to Messaging Menu from within the application (it's written in Python).
I need to connect it's user-display
to a function in the application. For example, this is needed for "Mark all as read" command.
The specification only says about static shortcuts, which are added to .desktop file:
In the
.desktop
file itself, an application may specify shortcut actions that can be invoked regardless of whether the program is running. The syntax of these actions is defined in ApplicationShortcuts.