| Evolution Shell Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
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);
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.
|
name of the icon |
|
size of the icon |
Returns : |
the filename of the requested 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.
|
name of the icon |
|
size of the icon |
Returns : |
the rendered icon |
GdkPixbuf * e_icon_factory_pixbuf_scale (GdkPixbuf *pixbuf,
gint width,
gint height);
Scales pixbuf to desired size.
|
a GdkPixbuf |
|
desired width, if less or equal to 0, then changed to 1 |
|
desired height, if less or equal to 0, then changed to 1 |
Returns : |
a scaled GdkPixbuf |