| Method | __init__ |
Undocumented |
| Method | create_thumbnail |
No summary |
| Method | get_thumbnail |
No summary |
| Method | get_thumbnail_file |
No summary |
| Method | remove_thumbnails |
No summary |
| Instance Variable | _thumbnailcreator |
Undocumented |
| Parameters | |
| file | the file to be thumbnailed as File object |
| size | pixel size for thumbnail file as integer |
| Returns | |
| a 2-tuple of the thumbnail file and a pixbuf object | |
| Raises | |
ThumbnailCreatorFailure | if creation fails unexpectedly |
| Parameters | |
| file | the file to be thumbnailed as File object |
| size | pixel size for thumbnail image as integer |
| create | if True we try to create the thumbnail if it doesn't exist |
| Returns | |
| a 2-tuple of the thumbnail file and a pixbuf object or 2 times None | |
File object for thumbnail Does not guarantee that the thumbnail actually exists. Do not use this method to lookup the thumbnail, use get_thumbnail() instead.| Parameters | |
| file | the original file to be thumbnailed |
| size | thumbnail size in pixels (THUMB_SIZE_NORMAL, THUMB_SIZE_LARGE, or integer) |
| Returns | |
a File object | |