This is an auxiliary class, to handle single thumbnail information for every thumb.
Used internally.
Default class constructor. |
|
Breaks the caption in several lines of text (if needed). |
|
Returns the bitmap of the thumbnail |
|
Returns the caption associated to a thumbnail. |
|
Returns the number of lines for the caption. |
|
Returns the file last modification date associated to a thumbnail. |
|
Return printable file size (with bytes, Kb, Mb suffix). |
|
Returns the file name associated with this thumbnail. |
|
Returns the file size in bytes associated to a thumbnail. |
|
Returns the full filename of the thumbnail. |
|
Returned highlighted bitmap of thumbnail. |
|
Returns the thumbnail identifier. |
|
Returns the thumbnail image. |
|
Returns info for thumbnain in display format. |
|
Returns a tuple containing the original image width and height, in pixels. |
|
Returns the wx.Image of the thumbnail |
|
Load image using imagehandler. |
|
Rotate image using imagehandler. |
|
Sets the thumbnail caption. |
|
Sets the file name associated with this thumbnail. |
|
Sets the thumbnail identifier. |
|
Sets the thumbnail image. |
This is an auxiliary class, to handle single thumbnail information for every thumb.
Used internally.
Default class constructor.
folder – the directory containing the images;
filename – a file containing an image;
caption – the thumbnail caption string;
size – the file size;
lastmod – the file last modification time.
Breaks the caption in several lines of text (if needed).
width – the maximum width, in pixels, available for the caption text.
Returns the bitmap of the thumbnail
width – the associated bitmap width;
height – the associated bitmap height.
Returns the caption associated to a thumbnail.
line – the caption line we wish to retrieve (useful for multilines caption strings).
Returns the number of lines for the caption.
width – the maximum width, in pixels, available for the caption text.
Returns the file last modification date associated to a thumbnail.
Return printable file size (with bytes, Kb, Mb suffix).
Returns the file name associated with this thumbnail.
Returns the file size in bytes associated to a thumbnail.
Returns the full filename of the thumbnail.
Returned highlighted bitmap of thumbnail.
Returns the thumbnail identifier.
Returns the thumbnail image.
Returns info for thumbnain in display format.
Returns a tuple containing the original image width and height, in pixels.
Returns the wx.Image of the thumbnail
width – the associated bitmap width;
height – the associated bitmap height.
Load image using imagehandler.
Rotate image using imagehandler.
Sets the thumbnail caption.
caption – the thumbnail caption string.
Sets the file name associated with this thumbnail.
filename – the file containing the image.
Sets the thumbnail identifier.
id – an integer specifying the thumbnail identifier.