Image.getStock

Gets the stock icon name and size being displayed by the #GtkImage. The storage type of the image must be %GTK_IMAGE_EMPTY or %GTK_IMAGE_STOCK (see gtk_image_get_storage_type()). The returned string is owned by the #GtkImage and should not be freed.

More...
class Image
void
getStock
(
out string stockId
,)

Parameters

stockId string

place to store a stock icon name, or %NULL

size GtkIconSize

place to store a stock icon size (#GtkIconSize), or %NULL

Detailed Description

Deprecated: Use gtk_image_get_icon_name() instead.

Meta