| Libfm Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#define FM_THUMBNAILER (p) FmThumbnailer; void fm_thumbnailer_check_update (); void fm_thumbnailer_free (FmThumbnailer *thumbnailer); gboolean fm_thumbnailer_launch_for_uri (FmThumbnailer *thumbnailer,const char *uri,const char *output_file,guint size); FmThumbnailer * fm_thumbnailer_new_from_keyfile (const char *id,GKeyFile *kf);
void fm_thumbnailer_check_update ();
Checks new thumbnailers and reloads if needed.
Since 1.0.0
void fm_thumbnailer_free (FmThumbnailer *thumbnailer);
Frees thumbnailer object.
|
thumbnailer descriptor |
Since 1.0.0
gboolean fm_thumbnailer_launch_for_uri (FmThumbnailer *thumbnailer,const char *uri,const char *output_file,guint size);
Tries to generate new thumbnail for given uri.
|
thumbnailer descriptor |
|
a file to create thumbnail for |
|
the target file name |
|
size of thumbnail to generate |
Returns : |
TRUE in case of success. |
Since 1.0.0
FmThumbnailer * fm_thumbnailer_new_from_keyfile (const char *id,GKeyFile *kf);
Creates new thumbnailer object.
|
desktop entry Id |
|
content of id
|
Returns : |
a new FmThumbnailer or NULL in case of error. |
Since 1.0.0