Method
GtkIconThemeget_icon_sizes
Declaration [src]
int*
gtk_icon_theme_get_icon_sizes (
GtkIconTheme* self,
const char* icon_name
)
Description [src]
Returns an array of integers describing the sizes at which the icon is available without scaling.
A size of -1 means that the icon is available in a scalable format. The array is zero-terminated.
Parameters
icon_name |
const char* |
The name of an icon. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. |
Return value
| Returns: | An array of int |
A newly
allocated array describing the sizes at which the icon is
available. The array should be freed with |
|
The array is NULL-terminated. | |
| The caller of the method takes ownership of the data, and is responsible for freeing it. |