Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module analogclock :: Class AnalogClockWindow |
|
object
--+ |Object
--+ |EvtHandler
--+ |Window
--+ |PyWindow
--+ | AnalogClockWindow
Method Summary | |
---|---|
__init__(self,
parent,
ID,
pos,
size,
style,
name)
| |
DoGetBestSize(self)
| |
OnPaint(self,
event)
| |
OnPopupOne(self,
event)
| |
OnPopupTwo(self,
event)
| |
OnQuit(self,
event)
| |
OnRightClick(self,
event)
| |
OnRightDown(self,
event)
| |
OnSize(self,
event)
| |
OnTimerExpire(self,
event)
| |
Set the clock style, acording to these options: | |
h, m, s: wx.Colour | |
h, m, s: value | |
s = value | |
s = wx.Colour or (r,g,b) tuple. | |
h, m: wx.Colour | |
h, m: wx.Font | |
tsh, tsm: [[x0,y0], [x1,y1], ... | |
h, m: value | |
Set the ticks styles, acording to the options below. | |
p = wx.Pen; b = wx.Brush |
Instance Method Details |
---|
SetClockStyle(self, style)Set the clock style, acording to these options:
|
SetHandColours(self, h=None, m=None, s=None)h, m, s: wx.Colour Sets colours of hands. If m and s are ommitted, we'll use h for all. |
SetHandWeights(self, h=None, m=None, s=None)h, m, s: value Sets thickness of hands. |
SetMinutesOffset(self, o)s = value Sets the distance between tick marks for hours and minutes. |
SetShadowColour(self, s)s = wx.Colour or (r,g,b) tuple. Sets the colour to be used to draw shadows. |
SetTickColours(self, h=None, m=None)h, m: wx.Colour Sets colours of ticks. If m is ommitted, we'll use h for both. |
SetTickFonts(self, h=None, m=None)h, m: wx.Font Fonts for tick marks when using TICKS_DECIMAL or TICKS_ROMAN style. If m is ommitted, we'll use h for both. |
SetTickShapes(self, tsh, tsm=None)tsh, tsm: [[x0,y0], [x1,y1], ... [xn,yn]] Sets lists of lists of points to be used as polygon shapes when using the TICKS_POLY style. If tsm is ommitted, we'll use tsh for both shapes. |
SetTickSizes(self, h=None, m=None)h, m: value Sizes for tick marks. |
SetTickStyles(self, h=None, m=None)Set the ticks styles, acording to the options below.
|
SetWatchPenBrush(self, p=None, b=None)p = wx.Pen; b = wx.Brush Set the pen and brush for the watch. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:23:28 2005 | http://epydoc.sf.net |