StatusIcon.getStock

Warning gtk_status_icon_get_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_status_icon_get_icon_name() instead. 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