deprecated: 3.10 since: 2.10

Declaration [src]

const gchar*
gtk_status_icon_get_stock (
  GtkStatusIcon* status_icon

Description [src]

Gets the id of the stock icon being displayed by the GtkStatusIcon. The storage type of the status icon must be GTK_IMAGE_EMPTY or GTK_IMAGE_STOCK (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.10

Use gtk_status_icon_get_icon_name() instead.

Gets propertyGtk.StatusIcon:stock

Return value

Type: const gchar*

Stock id of the displayed stock 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.