![]() |
![]() |
![]() |
Libfm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GdkPixbuf * fm_pixbuf_from_icon (FmIcon *icon
,int size
); GdkPixbuf * fm_pixbuf_from_icon_with_fallback (FmIcon *icon
,int size
,const char *fallback
);
GdkPixbuf * fm_pixbuf_from_icon (FmIcon *icon
,int size
);
Creates a GdkPixbuf and draws icon there.
Before 1.0.0 this call had name fm_icon_get_pixbuf.
|
icon descriptor |
|
size in pixels |
Returns : |
an image. [transfer full] |
Since 0.1.0
GdkPixbuf * fm_pixbuf_from_icon_with_fallback (FmIcon *icon
,int size
,const char *fallback
);
Creates a GdkPixbuf and draws icon there. If icon cannot be found then
icon with name fallback
will be loaded instead.
|
icon descriptor |
|
size in pixels |
|
name of fallback icon. [allow-none] |
Returns : |
an image. [transfer full] |
Since 1.2.0