Method
GtkImageget_stock
deprecated: 3.10
Declaration [src]
void
gtk_image_get_stock (
GtkImage* image,
gchar** stock_id,
GtkIconSize* size
)
Description [src]
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.
Deprecated since: 3.10
Use gtk_image_get_icon_name()
instead.
Gets property | Gtk.Image:stock |
Parameters
stock_id
-
Type:
gchar**
Place to store a stock icon name, or
NULL
.The argument will be set by the function. The argument can be NULL
.The returned data is owned by the instance. The value is a NUL terminated UTF-8 string. size
-
Type:
GtkIconSize*
Place to store a stock icon size (
GtkIconSize
), orNULL
.The argument will be set by the function. The argument can be NULL
.