![]() |
![]() |
![]() |
Mex Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void (*MexThumbnailCallback) (const char *uri
,gpointer user_data
); void mex_thumbnailer_generate (const char *url
,const char *mime_type
,MexThumbnailCallback callback
,gpointer user_data
); gchar * mex_get_thumbnail_path_for_uri (const gchar *uri
);
void mex_thumbnailer_generate (const char *url
,const char *mime_type
,MexThumbnailCallback callback
,gpointer user_data
);
Attempt to generate a thumbnail for url
asynchronously. When thumbnailing
is complete, callback
is called. If thumbnailing isn't possible or fails no
callback will be made, so it is recommended to set a fallback image before
calling this function.
|
the URL to thumbnail |
|
the MIME type of the URL (will be sniffed if NULL ) |
|
function to callback when thumbnailing is successfull |
|
data to pass to callback
|