Dynamic icon in top panel

If I launch applications like skype, slack, there will be a icon added dynamically to the top panel and remains as long as the application in running state.
what is the api to achieve that ?

With GTK3 and X11, and in an environment with a tray for status icons, you can use the deprecated GtkStatusIcon API, or the unmaintained libappindicator.

It is not recommended to use status icons, though.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.