Method

GtkIconThemelist_contexts

since: 2.12

Declaration [src]

GList*
gtk_icon_theme_list_contexts (
  GtkIconTheme* icon_theme
)

Description [src]

Gets the list of contexts available within the current hierarchy of icon themes. See gtk_icon_theme_list_icons() for details about contexts.

Available since: 2.12

Return value

Type: A list of utf8

A GList list holding the names of all the contexts in the theme. You must first free each element in the list with g_free(), then free the list itself with g_list_free().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.