Method

GtkStatusIconget_gicon

deprecated: 3.14 since: 2.14

Declaration [src]

GIcon*
gtk_status_icon_get_gicon (
  GtkStatusIcon* status_icon
)

Description [src]

Retrieves the GIcon being displayed by the GtkStatusIcon. The storage type of the status icon must be GTK_IMAGE_EMPTY or GTK_IMAGE_GICON (see gtk_status_icon_get_storage_type()). The caller of this function does not own a reference to the returned GIcon.

If this function fails, icon is left unchanged;.

Available since: 2.14

Deprecated since: 3.14

Use GNotification and GtkApplication to provide status notifications; there is no direct replacement for this function.

Gets propertyGtk.StatusIcon:gicon

Return value

Type: GIcon

The displayed icon, or NULL if the image is empty.

The returned data is owned by the instance.
The return value can be NULL.