Method

GtkIconInfoget_filename

since: 2.4

Declaration [src]

const gchar*
gtk_icon_info_get_filename (
  GtkIconInfo* icon_info
)

Description [src]

Gets the filename for the icon. If the GTK_ICON_LOOKUP_USE_BUILTIN flag was passed to gtk_icon_theme_lookup_icon(), there may be no filename if a builtin icon is returned; in this case, you should use gtk_icon_info_get_builtin_pixbuf().

Available since: 2.4

Return value

Type: const gchar*

The filename for the icon, or NULL if gtk_icon_info_get_builtin_pixbuf() should be used instead. The return value is owned by GTK+ and should not be modified or freed.

The returned data is owned by the instance.
The return value can be NULL.
The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.