or null if the image is empty.
StatusIcon.getStock
string 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.
Returns
stock id of the displayed stock icon,
Deprecated
Use [gtk.status_icon.StatusIcon.getIconName] instead.