StatusIcon.getStock

Gets the id of the stock icon being displayed by the #GtkStatusIcon. The storage type of the status icon must be gtk.types.ImageType.Empty or gtk.types.ImageType.Stock (see gtk.status_icon.StatusIcon.getStorageType). 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