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.

class Image
void
getStock
(
out string stockId
,)

Parameters

stockId string

place to store a stock icon name, or NULL. out[transfer none][allow-none]

size GtkIconSize

place to store a stock icon size, or NULL. out[allow-none][type int]

Meta