.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.analogclock.analogclock .. highlight:: python .. _wx.lib.analogclock.analogclock.AnalogClockWindow: ========================================================================================================================================== |phoenix_title| **wx.lib.analogclock.analogclock.AnalogClockWindow** ========================================================================================================================================== A simple derived class that provides some backwards compatibility with the old analogclock module. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class AnalogClockWindow:
| |super_classes| Known Superclasses ================================== :class:`wx.lib.analogclock.analogclock.AnalogClock` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetClockStyle` Set the clock style, according to the options below. :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetHandColours` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetHandWeights` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetMinutesOffset` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetShadowColour` Sets the colour to be used to draw shadows. :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetTickColours` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetTickFontss` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetTickShapes` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetTickSizes` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetTickStyles` :meth:`~wx.lib.analogclock.analogclock.AnalogClockWindow.SetWatchPenBrush` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: AnalogClockWindow(AnalogClock) A simple derived class that provides some backwards compatibility with the old analogclock module. .. method:: SetClockStyle(self, style) Set the clock style, according to the options below. ==================== ================================ SHOW_QUARTERS_TICKS Show marks for hours 3, 6, 9, 12 SHOW_HOURS_TICKS Show marks for all hours SHOW_MINUTES_TICKS Show marks for minutes SHOW_HOURS_HAND Show hours hand SHOW_MINUTES_HAND Show minutes hand SHOW_SECONDS_HAND Show seconds hand SHOW_SHADOWS Show hands and marks shadows ROTATE_TICKS Align tick marks to watch OVERLAP_TICKS Draw tick marks for minutes even when they match the hours marks. ==================== ================================ .. method:: SetHandColours(self, h=None, m=None, s=None) .. method:: SetHandWeights(self, h=None, m=None, s=None) .. method:: SetMinutesOffset(self, o) .. method:: SetShadowColour(self, s) Sets the colour to be used to draw shadows. .. method:: SetTickColours(self, h=None, m=None) .. method:: SetTickFontss(self, h=None, m=None) .. method:: SetTickShapes(self, tsh, tsm=None) .. method:: SetTickSizes(self, h=None, m=None) .. method:: SetTickStyles(self, h=None, m=None) .. method:: SetWatchPenBrush(self, p=None, b=None)