get_gicon


Description:

[ Version ( since = "2.14" ) ]
public unowned Icon? get_gicon ()

Retrieves 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_gicon (see get_storage_type). The caller of this function does not own a reference to the returned Icon.

If this function fails, icon is left unchanged;

Parameters:

this

a StatusIcon

Returns:

the displayed icon, or null if the image is empty




2022 vala-language.org