File: redemo.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 (120 lines) | stat: -rw-r--r-- 2,653 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
{'application':{'type':'Application',
          'name':'Minimal',
    'backgrounds': [
    {'type':'Background',
          'name':'bgMin',
          'title':'redemo PythonCard Application',
          'size':(380, 450),

        'menubar': {'type':'MenuBar',
         'menus': [
             {'type':'Menu',
             'name':'menuFile',
             'label':'&File',
             'items': [
                  {'type':'MenuItem',
                   'name':'menuFileExit',
                   'label':'E&xit\tAlt+X',
                   'command':'exit',
                  },
              ]
             },
             {'type':'Menu',
             'name':'menuHelp',
             'label':'&Help',
             'items': [
                  {'type':'MenuItem',
                   'name':'menuHelpReModule',
                   'label':'re module documentation...',
                  },
                  {'type':'MenuItem',
                   'name':'menuHelpReHowTo',
                   'label':'Regular Expression HOWTO...',
                  },
              ]
             },
         ]
     },
         'components': [

{'type':'StaticText', 
    'name':'stcStatusMessage', 
    'position':(5, 90), 
    },

{'type':'StaticText', 
    'name':'stcPattern', 
    'position':(5, 0), 
    'text':'Enter a Perl-style regular expression:', 
    },

{'type':'TextField', 
    'name':'fldPattern', 
    'position':(0, 19), 
    'size':(370, -1), 
    },

{'type':'CheckBox', 
    'name':'chkIGNORECASE', 
    'position':(3, 45), 
    'label':'IGNORECASE', 
    },

{'type':'CheckBox', 
    'name':'chkLOCALE', 
    'position':(107, 45), 
    'label':'LOCALE', 
    },

{'type':'CheckBox', 
    'name':'chkMULTILINE', 
    'position':(191, 45), 
    'label':'MULTILINE', 
    },

{'type':'CheckBox', 
    'name':'chkDOTALL', 
    'position':(3, 65), 
    'label':'DOTALL', 
    },

{'type':'CheckBox', 
    'name':'chkVERBOSE', 
    'position':(107, 65), 
    'label':'VERBOSE', 
    },

{'type':'StaticText', 
    'name':'stcSource', 
    'position':(5, 110),
    'text':'Enter a string to search:', 
    },

{'type':'RadioGroup', 
    'name':'radSearchString', 
    'position':(5, 125), 
    'size':(365, -1), 
    'items':['Highlight first match', 'Highlight all matches'], 
    'layout':'horizontal', 
    'max':1, 
    'stringSelection':'Highlight first match', 
    },

{'type':'TextArea', 
    'name':'fldSource', 
    'position':(1, 168), 
    'size':(370, 100), 
    },

{'type':'List', 
    'name':'listGroups', 
    'position':(1, 269), 
    'size':(370, 85), 
    'items':[], 
    },


] # end components
} # end background
] # end backgrounds
} }