get_icon_name


Description:

[ Version ( since = "2.10" ) ]
public unowned string? get_icon_name ()

Gets the name of the icon being displayed by the StatusIcon.

Note:

Use Notification and Application to provide status notifications; there is no direct replacement for this function

The storage type of the status icon must be gtk_image_empty or gtk_image_icon_name (see get_storage_type). The returned string is owned by the StatusIcon and should not be freed or modified.

Parameters:

this

a StatusIcon

Returns:

name of the displayed icon, or null if the image is empty.




2022 vala-language.org