Method

GtkStatusIconget_icon_name

deprecated: 3.14 since: 2.10

Declaration [src]

const gchar*
gtk_status_icon_get_icon_name (
  GtkStatusIcon* status_icon
)

Description [src]

Gets the name of the icon being displayed by the GtkStatusIcon. The storage type of the status icon must be GTK_IMAGE_EMPTY or GTK_IMAGE_ICON_NAME (see gtk_status_icon_get_storage_type()). The returned string is owned by the GtkStatusIcon and should not be freed or modified.

Available since: 2.10

Deprecated since: 3.14

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

Return value

Type: const gchar*

Name of the displayed icon, or NULL if the image is empty.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.