Image.getStock

Gets the stock icon name and size being displayed by the #GtkImage. The storage type of the image must be gtk.types.ImageType.Empty or gtk.types.ImageType.Stock (see gtk.image.Image.getStorageType). The returned string is owned by the #GtkImage and should not be freed.

More...
class Image
void
getStock

Parameters

stockId string

place to store a stock icon name, or null

size gtk.types.IconSize

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

Detailed Description

Deprecated: Use gtk.image.Image.getIconName instead.