Icon Functions (Legacy)

Icon Functions (Legacy)

Synopsis

gchar *             e_icon_factory_get_icon_filename    (const gchar *icon_name,
                                                         GtkIconSize icon_size);
GdkPixbuf *         e_icon_factory_get_icon             (const gchar *icon_name,
                                                         GtkIconSize icon_size);
GdkPixbuf *         e_icon_factory_pixbuf_scale         (GdkPixbuf *pixbuf,
                                                         gint width,
                                                         gint height);
gchar *             e_icon_factory_create_thumbnail     (const gchar *filename);

Description

Details

e_icon_factory_get_icon_filename ()

gchar *             e_icon_factory_get_icon_filename    (const gchar *icon_name,
                                                         GtkIconSize icon_size);

Returns the filename of the requested icon in the default icon theme.

icon_name :

name of the icon

icon_size :

size of the icon

Returns :

the filename of the requested icon

e_icon_factory_get_icon ()

GdkPixbuf *         e_icon_factory_get_icon             (const gchar *icon_name,
                                                         GtkIconSize icon_size);

Loads the requested icon from the default icon theme and renders it to a pixbuf.

icon_name :

name of the icon

icon_size :

size of the icon

Returns :

the rendered icon

e_icon_factory_pixbuf_scale ()

GdkPixbuf *         e_icon_factory_pixbuf_scale         (GdkPixbuf *pixbuf,
                                                         gint width,
                                                         gint height);

pixbuf :

width :

height :

Returns :


e_icon_factory_create_thumbnail ()

gchar *             e_icon_factory_create_thumbnail     (const gchar *filename);

filename :

Returns :