StatusIcon.getStock

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.

More...
class StatusIcon
string
getStock
()

Return Value

Type: string

stock id of the displayed stock icon, or %NULL if the image is empty.

Detailed Description

Deprecated: Use gtk_status_icon_get_icon_name() instead.

Meta

Since

2.10