Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module thumbnailctrl :: Class Thumb |
|
object
--+
|
Thumb
Method Summary | |
---|---|
Default class constructor. | |
Breaks the caption in several lines of text (if needed). | |
Returns the associated bitmap. | |
Gets the caption associated to a thumb. | |
Returns the number of lines for the caption. | |
Returns the file last modification date associated to a thumb. | |
Gets thumb file name. | |
Returns the file size associated to a thumb. | |
Returns thumb id. | |
Gets thumb image. | |
Returns the bitmap associated to a thumb. | |
Gets a rotated image. | |
Gets thumb rotation. | |
Sets thumb bitmap. | |
Sets thumb caption. | |
Sets thumb file name. | |
Sets thumb id. | |
Sets thumb image. | |
Sets the image as rotated (fast). | |
Sets thumb rotation. |
Method Details |
---|
__init__(self,
parent,
dir,
filename,
caption='',
size=0,
lastmod=0)
|
BreakCaption(self, width)Breaks the caption in several lines of text (if needed). |
GetBitmap(self, width, height)Returns the associated bitmap. |
GetCaption(self, line)Gets the caption associated to a thumb. |
GetCaptionLinesCount(self, width)Returns the number of lines for the caption. |
GetCreationDate(self)Returns the file last modification date associated to a thumb. |
GetFileName(self)Gets thumb file name. |
GetFileSize(self)Returns the file size associated to a thumb. |
GetId(self)Returns thumb id. |
GetImage(self)Gets thumb image. |
GetOriginalImage(self)Returns the bitmap associated to a thumb. |
GetRotatedImage(self)Gets a rotated image. |
GetRotation(self)Gets thumb rotation. |
SetBitmap(self, bmp)Sets thumb bitmap. |
SetCaption(self, caption='')Sets thumb caption. |
SetFileName(self, filename)Sets thumb file name. |
SetId(self, id=-1)Sets thumb id. |
SetImage(self, image)Sets thumb image. |
SetRotatedImage(self, image)Sets the image as rotated (fast). |
SetRotation(self, angle=0)Sets thumb rotation. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:55:39 2009 | http://epydoc.sf.net |