StatusIcon.from_gicon
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.14" ) ]
public StatusIcon.from_gicon (Icon icon)
[ Version ( since = "2.14" ) ]
public StatusIcon.from_gicon (Icon icon)
Creates a status icon displaying a Icon.
Note:
Use Notification and Application to provide status notifications
If the icon is a themed icon, it will be updated when the theme changes.
Parameters:
icon |
a Icon |
Returns:
a new StatusIcon |