Improved some error messages for command line processing.
[python/dscho.git] / Lib / lib-tk / Tkconstants.py
blobda34a4da5d503fb33a5553881aae77c8c2157c24
2 # Symbolic constants for Tk
4 # Booleans
5 NO=FALSE=OFF=0
6 YES=TRUE=ON=1
8 # -anchor
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 CENTER='center'
19 # -fill
20 NONE='none'
21 X='x'
22 Y='y'
23 BOTH='both'
25 # -side
26 LEFT='left'
27 TOP='top'
28 RIGHT='right'
29 BOTTOM='bottom'
31 # -relief
32 RAISED='raised'
33 SUNKEN='sunken'
34 FLAT='flat'
35 RIDGE='ridge'
36 GROOVE='groove'
37 SOLID = 'solid'
39 # -orient
40 HORIZONTAL='horizontal'
41 VERTICAL='vertical'
43 # -tabs
44 NUMERIC='numeric'
46 # -wrap
47 CHAR='char'
48 WORD='word'
50 # -align
51 BASELINE='baseline'
53 # Special tags, marks and insert positions
54 SEL='sel'
55 SEL_FIRST='sel.first'
56 SEL_LAST='sel.last'
57 END='end'
58 INSERT='insert'
59 CURRENT='current'
60 ANCHOR='anchor'
61 ALL='all' # e.g. Canvas.delete(ALL)
63 # Text widget and button states
64 NORMAL='normal'
65 DISABLED='disabled'
66 ACTIVE='active'
68 # Menu item types
69 CASCADE='cascade'
70 CHECKBUTTON='checkbutton'
71 COMMAND='command'
72 RADIOBUTTON='radiobutton'
73 SEPARATOR='separator'
75 # Selection modes for list boxes
76 SINGLE='single'
77 BROWSE='browse'
78 MULTIPLE='multiple'
79 EXTENDED='extended'