File: addresses.rsrc.py

package info (click to toggle)
pythoncard 0.8.1-8.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 5,352 kB
  • ctags: 4,594
  • sloc: python: 42,401; makefile: 55; sh: 22
file content (250 lines) | stat: -rw-r--r-- 6,940 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{'application':{'type':'Application',
'name':'Addresses',

'backgrounds':
[
{'type':'Background',
'name':'bgBody',
'title':'Addresses',
'position':(208,183), 
'size':(416, 310),

    'menubar': 
    { 
        'type':'MenuBar',
        'menus': 
        [
            { 'type':'Menu',
              'name':'menuFile',
              'label':'&File',
              'items': [ 
                        { 'type':'MenuItem',
                          'name':'menuFileImportOutlook',
                          'label':"&Import Outlook",
                          'command':'fileImportOutlook'},
                        { 'type':'MenuItem', 'name':'fileSep1', 'label':'-' },
                        { 'type':'MenuItem',
                          'name':'menuFileExit',
                          'label':'E&xit\tAlt+X',
                          'command':'exit'}
                ] },
            {'type':'Menu',
             'name':'Edit',
             'label':'&Edit',
             'items': [ { 'type':'MenuItem',
                          'name':'menuEditUndo',
                          'label':'&Undo\tCtrl+Z',
                          'command':'editUndo'},
                        { 'type':'MenuItem',
                          'name':'menuEditRedo',
                          'label':'&Redo\tCtrl+Y',
                          'command':'editRedo'},
                        { 'type':'MenuItem', 'name':'editSep1', 'label':'-' },
                        { 'type':'MenuItem',
                          'name':'menuEditCut',
                          'label':'Cu&t\tCtrl+X',
                          'command':'editCut'},
                        { 'type':'MenuItem',
                          'name':'menuEditCopy',
                          'label':'&Copy\tCtrl+C',
                          'command':'editCopy'},
                        { 'type':'MenuItem',
                          'name':'menuEditPaste',
                          'label':'&Paste\tCtrl+V',
                          'command':'editPaste'},
                        { 'type':'MenuItem', 'name':'editSep2', 'label':'-' },
                        { 'type':'MenuItem',
                          'name':'menuEditClear',
                          'label':'Cle&ar\tDel',
                          'command':'editClear'},
                        { 'type':'MenuItem',
                          'name':'menuEditSelectAll',
                          'label':'Select A&ll\tCtrl+A',
                          'command':'editSelectAll'},
                        { 'type':'MenuItem', 'name':'editSep3', 'label':'-' },
                        { 'type':"MenuItem",
                          'name':"menuEditNewCard",
                          'label':"&New Card\tCtrl+N",
                          'command':'editNewCard'},
                        { 'type':"MenuItem",
                          'name':"menuEditDeleteCard",
                          'label':"&Delete Card",
                          'command':'editDeleteCard'},
                        ] },
            {'type':'Menu',
             'name':'Go',
             'label':'&Go',
             'items': [ { 'type':"MenuItem",
                          'name':"menuGoNextCard",
                          'label':"&Next Card\tCtrl+1",
                          'command':'goNext'},
                        { 'type':"MenuItem",
                          'name':"menuGoPrevCard",
                          'label':"&Prev Card\tCtrl+2",
                          'command':'goPrev'},
                        { 'type':"MenuItem",
                          'name':"menuGoFirstCard",
                          'label':"&First Card\tCtrl+3",
                          'command':'goFirst'},
                        { 'type':"MenuItem",
                          'name':"menuGoLastCard",
                          'label':"&Last Card\tCtrl+4",
                          'command':'goLast'},
                        ] }
        ]       
    },

'components':
[
{'type':'TextArea', 'name':'Notes',
'position':(7,64), 
'size':(278, 200), 
'visible':0, 
}, 
{'type':'TextField', 'name':'Name',
'position':(100,17), 
'size':(241, -1), 
}, 
{'type':'TextField', 'name':'Company',
'position':(100,39), 
'size':(241, -1), 
}, 
{'type':'TextField', 'name':'Street',
'position':(100,72), 
'size':(183, -1), 
}, 
{'type':'TextField', 'name':'City',
'position':(100,94), 
'size':(183, -1), 
}, 
{'type':'TextField', 'name':'State',
'position':(100,116), 
'size':(183, -1), 
}, 
{'type':'TextField', 'name':'Zip',
'position':(100,138), 
'size':(183, -1), 
}, 
{'type':'TextField', 
    'name':'Phone1', 
    'position':(100, 176), 
    'size':(169, -1), 
    },

{'type':'TextField', 
    'name':'Phone2', 
    'position':(100, 198), 
    'size':(169, -1), 
    },

{'type':'TextField', 
    'name':'Phone3', 
    'position':(100, 220), 
    'size':(169, -1), 
    },

{'type':'TextField', 
    'name':'Phone4', 
    'position':(100, 242), 
    'size':(169, -1), 
    },

{'type':'StaticText', 'name':'NameLabel',
'position':(7,24), 
'size':(68, -1), 
'text':'Name', 
'alignment':'right', 
}, 
{'type':'StaticText', 'name':'CompanyLabel',
'position':(7,46), 
'size':(68, -1), 
'text':'Company', 
'alignment':'right', 
}, 
{'type':'StaticText', 'name':'StreetLabel',
'position':(8,79), 
'size':(68, -1), 
'text':'Street', 
'alignment':'right', 
}, 
{'type':'StaticText', 'name':'CityLabel',
'position':(8,101), 
'size':(68, -1), 
'text':'City', 
'alignment':'right', 
}, 
{'type':'StaticText', 'name':'ZipCodeLabel',
'position':(8,145), 
'size':(68, -1), 
'text':'Zip Code', 
'alignment':'right', 
}, 
{'type':'StaticText', 'name':'TelephoneLabel',
'position':(7,180), 
'size':(68, -1), 
'text':'Telephone', 
'alignment':'right', 
}, 
{'type':'TextField', 'name':'Sortorder',
'position':(0,0), 
'size':(30, -1), 
'text':'1', 
'visible':0, 
}, 
{'type':'TextField', 'name':'NameOrder',
'position':(141,0), 
'size':(73, -1), 
'text':'last word', 
'visible':0, 
}, 
{'type':'StaticText', 'name':'StateLabel',
'position':(8,123), 
'size':(68, -1), 
'text':'State', 
'alignment':'right', 
}, 
{'type':'TextField', 'name':'CorrectName',
'position':(100,0), 
'size':(241, -1), 
'visible':0, 
},  
{'type':'Button', 'name':'NewCard',
'position':(301,152), 
'size':(100, -1), 
'label':'New Card',
'command':'editNewCard'
}, 
{'type':'Button', 'name':'DeleteCard',
'position':(301,178), 
'size':(100, -1), 
'label':'Delete Card',
'command':'editDeleteCard'
}, 
{'type':'Button', 'name':'Find',
'position':(301,100), 
'size':(100, -1), 
'label':'Find',
'command':'findRecord'
}, 
{'type':'Button', 'name':'ShowNotes',
'position':(301,126), 
'size':(100, -1), 
'label':'Show Notes',
'command':'showNotes',
}, 
{'type':'ImageButton', 'name':'Prev',
'position':(323,68), 
'size':(26, 23), 
'file':'prev.gif',
'command':'goPrev',
}, 
{'type':'ImageButton', 'name':'Next',
'position':(355,69), 
'size':(25, 23), 
'file':'next.gif', 
'command':'goNext',
}, 
] }
] }
}