get_icon_sizes


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
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 `GtkIconTheme`

icon_name

the name of an icon

Returns:

A 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.




2022 vala-language.org