Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package agw :: Module rulerctrl :: Class Indicator |
|
Method Summary | |
---|---|
Default class constructor. | |
Actually draws the indicator. | |
Returns the indicator id. | |
Returns the indicator bitmap size. | |
Returns the position at which we should draw the indicator bitmap. | |
Returns the indicator rect. | |
Returns the indicator value. | |
Rotates the default indicator bitmap. | |
Sets the indicator colour. | |
Sets the indicator value. |
Method Details |
---|
__init__(self,
parent,
id=-1,
value=0)
Default class constructor.
|
Draw(self, dc)Actually draws the indicator. |
GetId(self)Returns the indicator id. |
GetImageSize(self)Returns the indicator bitmap size. |
GetPosition(self)Returns the position at which we should draw the indicator bitmap. |
GetRect(self)Returns the indicator rect. |
GetValue(self)Returns the indicator value. |
RotateImage(self, img=None)Rotates the default indicator bitmap. |
SetColour(self, colour)Sets the indicator colour. Requires PIL. |
SetValue(self, value)Sets the indicator value. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:54:48 2009 | http://epydoc.sf.net |