C api for an application to access the menus of its icon in the dock

Nathan Haines nhaines at ubuntu.com
Fri Dec 11 02:18:19 UTC 2015


On 12/10/2015 06:11 PM, Dan Hitt wrote:
> Thanks Michael, Juhapekka, and Thomas for the information and the links.
>
> The concept is very interesting, because it means that an app doesn't have
> to know very much to get those right click menus --- it just needs somebody
> to have set up a *.desktop for it.
>
> Obviously that's a big plus, and clearly this kind of setup was intended to
> enhance portability.
>
> It does seem pretty static, though, but i'm not sure i have a plausible
> use case why something more dynamic would be useful sometimes.

The Unity Action API ought to handle dynamic actions:

https://developer.ubuntu.com/api/devel/ubuntu-13.10/cplusplus/unity-action/

-- 
Nathan Haines
Ubuntu - http://www.ubuntu.com/



More information about the Ubuntu-app-devel mailing list