get_icon_sizes


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.6" ) ]
public int[] get_icon_sizes (string icon_name)

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:

this

a IconTheme

icon_name

the name of an icon

Returns:

An newly allocated array describing the sizes at which the icon is available. The array should be freed with g_free when it is no longer needed.