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. Since 2.10

class StatusIcon
string
getStock
()

Return Value

Type: string

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

Meta