Image.getStock

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