Method

GtkIconSetget_sizes

deprecated: 3.10 

Declaration [src]

void
gtk_icon_set_get_sizes (
  GtkIconSet* icon_set,
  GtkIconSize** sizes,
  gint* n_sizes
)

Description [src]

Obtains a list of icon sizes this icon set can render. The returned array must be freed with g_free().

Deprecated since: 3.10

Use GtkIconTheme instead.

Parameters

sizes

Type: An array of GtkIconSize*

Return location for array of sizes (GtkIconSize)

The argument will be set by the function.
The length of the array is specified in the n_sizes argument.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
n_sizes

Type: gint*

Location to store number of elements in returned array.

The argument will be set by the function.