Use py_resource module
[python/dscho.git] / Lib / lib-tk / Tkconstants.py
blobdd4fb0ef321ad5de41d6ec88807430b6c5ed0129
1 # Symbolic constants for Tk
3 # Booleans
4 NO=FALSE=OFF=0
5 YES=TRUE=ON=1
7 # -anchor
8 N='n'
9 S='s'
10 W='w'
11 E='e'
12 NW='nw'
13 SW='sw'
14 NE='ne'
15 SE='se'
16 CENTER='center'
18 # -fill
19 NONE='none'
20 X='x'
21 Y='y'
22 BOTH='both'
24 # -side
25 LEFT='left'
26 TOP='top'
27 RIGHT='right'
28 BOTTOM='bottom'
30 # -relief
31 RAISED='raised'
32 SUNKEN='sunken'
33 FLAT='flat'
34 RIDGE='ridge'
35 GROOVE='groove'
37 # -orient
38 HORIZONTAL='horizontal'
39 VERTICAL='vertical'
41 # -tabs
42 NUMERIC='numeric'
44 # -wrap
45 CHAR='char'
46 WORD='word'
48 # -align
49 BASELINE='baseline'
51 # Special tags, marks and insert positions
52 SEL='sel'
53 SEL_FIRST='sel.first'
54 SEL_LAST='sel.last'
55 END='end'
56 INSERT='insert'
57 CURRENT='current'
58 ANCHOR='anchor'
60 # Text widget and button states
61 NORMAL='normal'
62 DISABLED='disabled'
63 ACTIVE='active'
65 # Menu item types
66 CASCADE='cascade'
67 CHECKBUTTON='checkbutton'
68 COMMAND='command'
69 RADIOBUTTON='radiobutton'
70 SEPARATOR='separator'
72 # Selection modes for list boxes
73 SINGLE='single'
74 BROWSE='browse'
75 MULTIPLE='multiple'
76 EXTENDED='extended'