[ Version ( deprecated = true , deprecated_since = "3.10" , since = "2.10" ) ]
public unowned string? get_stock ()
Warning: get_stock is deprecated since 3.10.
Gets the id of the stock icon being displayed by the StatusIcon.
Use get_icon_name instead.
The storage type of the status icon must be gtk_image_empty or gtk_image_stock (see get_storage_type). The returned string is owned by the StatusIcon and should not be freed or modified.
this |
stock id of the displayed stock icon, or null if the image is empty. |