![]() |
![]() |
![]() |
Evolution Shell Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void e_icon_factory_init (void); void e_icon_factory_shutdown (void); 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);
void e_icon_factory_shutdown (void);
Shuts down the icon factory (cleans up all cached icons, etc).
gchar * e_icon_factory_get_icon_filename (const gchar *icon_name, GtkIconSize icon_size);
Looks up the icon to use based on name and size.
|
name of the icon |
|
|
Returns : |
the requested icon pixbuf. |
GdkPixbuf * e_icon_factory_get_icon (const gchar *icon_name, GtkIconSize icon_size);
|
name of the icon |
|
size of the icon |
Returns : |
the specified icon of the requested size (may perform
scaling to achieve this). If icon_name is a full path, that file
is used directly. Otherwise it is looked up in the user's current
icon theme. If the icon cannot be found in the icon theme, it falls
back to loading the requested icon from Evolution's icon set
installed from the art/ srcdir. If even that fails to find the
requested icon, then a "broken-image" icon is returned.
|
GdkPixbuf * e_icon_factory_pixbuf_scale (GdkPixbuf *pixbuf, gint width, gint height);
|
|
|
|
|
|
Returns : |