set_metadata


Description:

[ CCode ( cname = "xapp_status_icon_set_metadata" ) ]
[ Version ( since = "1.8.7" ) ]
public void set_metadata (string? metadata)

Sets metadata to pass to the icon proxy for an applet's use.

Right now this is only so xapp-sn-watcher can tell the applets when the icon is originating from appindicator so panel button 'highlighting' can behave correctly.

Parameters:

this

an StatusIcon

metadata

A json-formatted string of key:values.