Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Package analogclock :: Module analogclock :: Class AnalogClock |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |PyWindow
--+ | AnalogClock
AnalogClockWindow
An analog clock.
Method Summary | |
---|---|
__init__(self,
parent,
id,
pos,
size,
style,
name,
clockStyle,
minutesStyle,
hoursStyle)
| |
DoGetBestSize(self)
| |
Returns the current clock style. | |
Gets border colours of watch. | |
Gets border width of watch. | |
Gets fill colours of watch. | |
Gets border colours of hands. | |
Gets border widths of hands. | |
Gets fill colours of hands. | |
Gets thickness of hands. | |
Gets the colour to be used to draw shadows. | |
Gets border colours of ticks. | |
Gets border widths of ticks. | |
Gets fill colours of ticks. | |
Gets fonts for tick marks when using TICKS_DECIMAL or TICKS_ROMAN style. | |
Gets the distance of tick marks for hours from border. | |
Gets lists of points to be used as polygon shapes when using the TICKS_POLY style. | |
Gets sizes of ticks. | |
Gets the tick style(s). | |
Forces an immediate recalculation and redraw of all clock elements. | |
Overriden base wx.Window method. | |
Set the clock style, according to the options below. | |
Sets border colours of watch. | |
Sets border width of watch. | |
Sets fill colours of watch. | |
Overriden base wx.Window method. | |
Sets border colours of hands. | |
Sets border widths of hands. | |
Sets fill colours of hands. | |
Sets thickness of hands. | |
Sets the colour to be used to draw shadows. | |
Sets border colours of ticks. | |
Sets border widths of ticks. | |
Sets fill colours of ticks. | |
Sets fonts for tick marks when using text-based tick styles such as TICKS_DECIMAL or TICKS_ROMAN. | |
Sets the distance of tick marks for hours from border. | |
Sets lists of points to be used as polygon shapes when using the TICKS_POLY style. | |
Sets sizes of ticks. | |
Set the tick style, according to the options below. | |
Overriden base wx.Window method. | |
Overriden base wx.Window method. |
Property Summary |
---|
Instance Method Details |
---|
GetClockStyle(self)Returns the current clock style. |
GetFaceBorderColour(self)Gets border colours of watch. |
GetFaceBorderWidth(self)Gets border width of watch. |
GetFaceFillColour(self)Gets fill colours of watch. |
GetHandBorderColour(self, target=7)Gets border colours of hands. |
GetHandBorderWidth(self, target=7)Gets border widths of hands. |
GetHandFillColour(self, target=7)Gets fill colours of hands. |
GetHandSize(self, target=7)Gets thickness of hands. |
GetShadowColour(self)Gets the colour to be used to draw shadows. |
GetTickBorderColour(self, target=7)Gets border colours of ticks. |
GetTickBorderWidth(self, target=7)Gets border widths of ticks. |
GetTickFillColour(self, target=7)Gets fill colours of ticks. |
GetTickFont(self, target=7)Gets fonts for tick marks when using TICKS_DECIMAL or TICKS_ROMAN style. |
GetTickOffset(self, target=7)Gets the distance of tick marks for hours from border. |
GetTickPolygon(self, target=7)Gets lists of points to be used as polygon shapes when using the TICKS_POLY style. |
GetTickSize(self, target=7)Gets sizes of ticks. |
GetTickStyle(self, target=7)Gets the tick style(s). |
Reset(self)Forces an immediate recalculation and redraw of all clock elements. |
SetBackgroundColour(self, colour)Overriden base wx.Window method.
|
SetClockStyle(self, style)Set the clock style, according to the options below.
|
SetFaceBorderColour(self, colour)Sets border colours of watch. |
SetFaceBorderWidth(self, width)Sets border width of watch. |
SetFaceFillColour(self, colour)Sets fill colours of watch. |
SetForegroundColour(self, colour)Overriden base wx.Window method. This method sets a colour for all hands and ticks at once.
|
SetHandBorderColour(self, colour, target=7)Sets border colours of hands. |
SetHandBorderWidth(self, width, target=7)Sets border widths of hands. |
SetHandFillColour(self, colour, target=7)Sets fill colours of hands. |
SetHandSize(self, size, target=7)Sets thickness of hands. |
SetShadowColour(self, colour)Sets the colour to be used to draw shadows. |
SetTickBorderColour(self, colour, target=7)Sets border colours of ticks. |
SetTickBorderWidth(self, width, target=7)Sets border widths of ticks. |
SetTickFillColour(self, colour, target=7)Sets fill colours of ticks. |
SetTickFont(self, font, target=7)Sets fonts for tick marks when using text-based tick styles such as TICKS_DECIMAL or TICKS_ROMAN. |
SetTickOffset(self, offset, target=7)Sets the distance of tick marks for hours from border. |
SetTickPolygon(self, polygon, target=7)Sets lists of points to be used as polygon shapes when using the TICKS_POLY style. |
SetTickSize(self, size, target=7)Sets sizes of ticks. |
SetTickStyle(self, style, target=7)Set the tick style, according to the options below.
|
SetWindowStyle(self, *args, **kwargs)Overriden base wx.Window method.
|
SetWindowStyleFlag(self, *args, **kwargs)Overriden base wx.Window method.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:11:59 2007 | http://epydoc.sf.net |