Gtk.IconTheme.prototype.get_icon_sizes
function get_icon_sizes(icon_name:String):[Number] { // Gjs wrapper for gtk_icon_theme_get_icon_sizes() }
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.
Since 2.6
- 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 GLib.free when it is no longer needed.