Fix an amazing number of typos & malformed sentences reported by Detlef
[python/dscho.git] / Lib / lib-tk / Tkconstants.py
blobf4f94f49974a15d7c7e12a46f9103acc98882528
2 # Symbolic constants for Tk
4 # Booleans
5 NO=FALSE=OFF=0
6 YES=TRUE=ON=1
8 # -anchor and -sticky
9 N='n'
10 S='s'
11 W='w'
12 E='e'
13 NW='nw'
14 SW='sw'
15 NE='ne'
16 SE='se'
17 NS='ns'
18 EW='ew'
19 NSEW='nsew'
20 CENTER='center'
22 # -fill
23 NONE='none'
24 X='x'
25 Y='y'
26 BOTH='both'
28 # -side
29 LEFT='left'
30 TOP='top'
31 RIGHT='right'
32 BOTTOM='bottom'
34 # -relief
35 RAISED='raised'
36 SUNKEN='sunken'
37 FLAT='flat'
38 RIDGE='ridge'
39 GROOVE='groove'
40 SOLID = 'solid'
42 # -orient
43 HORIZONTAL='horizontal'
44 VERTICAL='vertical'
46 # -tabs
47 NUMERIC='numeric'
49 # -wrap
50 CHAR='char'
51 WORD='word'
53 # -align
54 BASELINE='baseline'
56 # Special tags, marks and insert positions
57 SEL='sel'
58 SEL_FIRST='sel.first'
59 SEL_LAST='sel.last'
60 END='end'
61 INSERT='insert'
62 CURRENT='current'
63 ANCHOR='anchor'
64 ALL='all' # e.g. Canvas.delete(ALL)
66 # Text widget and button states
67 NORMAL='normal'
68 DISABLED='disabled'
69 ACTIVE='active'
71 # Menu item types
72 CASCADE='cascade'
73 CHECKBUTTON='checkbutton'
74 COMMAND='command'
75 RADIOBUTTON='radiobutton'
76 SEPARATOR='separator'
78 # Selection modes for list boxes
79 SINGLE='single'
80 BROWSE='browse'
81 MULTIPLE='multiple'
82 EXTENDED='extended'