Method

GtkIconThemeset_custom_theme

since: 2.4

Declaration [src]

void
gtk_icon_theme_set_custom_theme (
  GtkIconTheme* icon_theme,
  const gchar* theme_name
)

Description [src]

Sets the name of the icon theme that the GtkIconTheme object uses overriding system configuration. This function cannot be called on the icon theme objects returned from gtk_icon_theme_get_default() and gtk_icon_theme_get_for_screen().

Available since: 2.4

Parameters

theme_name

Type: const gchar*

Name of icon theme to use instead of configured theme, or NULL to unset a previously set custom theme.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.