StatusIcon.getGicon

gio.icon.Icon getGicon()

Retrieves the #GIcon being displayed by the #GtkStatusIcon. The storage type of the status icon must be [gtk.types.ImageType.Empty] or [gtk.types.ImageType.Gicon] (see [gtk.status_icon.StatusIcon.getStorageType]). The caller of this function does not own a reference to the returned #GIcon.

If this function fails, icon is left unchanged;

Returns

the displayed icon, or null if the image is empty

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications; there is no direct replacement for this function