]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/lib/analogclock/styles.py
Added SetSashPosition
[wxWidgets.git] / wxPython / wx / lib / analogclock / styles.py
1 # AnalogClock constants
2 # E. A. Tacao <e.a.tacao |at| estadao.com.br>
3 # http://j.domaindlx.com/elements28/wxpython/
4 # 15 Fev 2006, 22:00 GMT-03:00
5 # Distributed under the wxWidgets license.
6
7 # Style options that control the general clock appearance,
8 # chosen via SetClockStyle.
9 SHOW_QUARTERS_TICKS = 1
10 SHOW_HOURS_TICKS = 2
11 SHOW_MINUTES_TICKS = 4
12 ROTATE_TICKS = 8
13 SHOW_HOURS_HAND = 16
14 SHOW_MINUTES_HAND = 32
15 SHOW_SECONDS_HAND = 64
16 SHOW_SHADOWS = 128
17 OVERLAP_TICKS = 256
18
19 DEFAULT_CLOCK_STYLE = SHOW_HOURS_TICKS|SHOW_MINUTES_TICKS| \
20 SHOW_HOURS_HAND|SHOW_MINUTES_HAND|SHOW_SECONDS_HAND| \
21 SHOW_SHADOWS|ROTATE_TICKS
22
23
24 # Style options that control the appearance of tick marks,
25 # chosen via SetTickStyle.
26 TICKS_NONE = 1
27 TICKS_SQUARE = 2
28 TICKS_CIRCLE = 4
29 TICKS_POLY = 8
30 TICKS_DECIMAL = 16
31 TICKS_ROMAN = 32
32 TICKS_BINARY = 64
33 TICKS_HEX = 128
34
35
36 # Constants that may be used as 'target' keyword value in
37 # the various Get/Set methods.
38 HOUR = 1
39 MINUTE = 2
40 SECOND = 4
41
42 ALL = HOUR|MINUTE|SECOND
43
44
45 #
46 ##
47 ### eof