IconTheme.listIcons

Lists the icons in the current icon theme. Only a subset of the icons can be listed by providing a context string. The set of values for the context string is system dependent, but will typically include such values as “Applications” and “MimeTypes”. Contexts are explained in the Icon Theme Specification. The standard contexts are listed in the Icon Naming Specification. Also see gtk.icon_theme.IconTheme.listContexts.

class IconTheme
string[]
listIcons
(
string context = null
)

Parameters

context string

a string identifying a particular type of icon, or null to list all icons.

Return Value

Type: string[]

a #GList list holding the names of all the icons 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.