GFileIcon — Icons pointing to an image file
#include <gio/gio.h> GFileIcon; GIcon * g_file_icon_new (GFile *file); GFile * g_file_icon_get_file (GFileIcon *icon);
GFileIcon specifies an icon by pointing to an image file to be used as icon.
typedef struct _GFileIcon GFileIcon;
Gets an icon for a GFile. Implements GLoadableIcon.
GIcon * g_file_icon_new (GFile *file);
Creates a new icon for a file.
file :
file
Returns :
NULL
GFile * g_file_icon_get_file (GFileIcon *icon);
Gets the GFile associated with the given icon.
icon
icon :