Method
GtkImageget_stock
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 |
Gets property | Gtk.Image:stock |
Parameters
stock_id |
gchar** |
Place to store a
stock icon name, or |
|
The argument will be set by the function. | |
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
size |
GtkIconSize* |
Place to store a stock icon
size ( |
|
The argument will be set by the function. | |
The argument can be NULL . |