IconTheme.listContexts

string[] listContexts()

Gets the list of contexts available within the current hierarchy of icon themes. See [gtk.icon_theme.IconTheme.listIcons] for details about contexts.

Returns

a #GList list

holding the names of all the contexts in the theme. You must first free each element in the list with [glib.global.gfree], then free the list itself with [glib.list.List.free].