get_stock


Description:

public unowned string get_stock ()

Gets the id of the stock icon being displayed by the StatusIcon.

Note:

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.

Parameters:

this

a StatusIcon

Returns:

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