File: mortgage.rsrc.py

package info (click to toggle)
pythoncard 0.8.2-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,452 kB
  • sloc: python: 56,787; makefile: 56; sh: 22
file content (56 lines) | stat: -rw-r--r-- 1,197 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
{'application':{'type':'Application',
          'name':'Template',
    'backgrounds': [
    {'type':'Background',
          'name':'bgTemplate',
          'title':'Mortgage Calculator',
          'size':(400, 300),
          'style':['resizeable'],

        'menubar': {'type':'MenuBar',
         'menus': [
             {'type':'Menu',
             'name':'menuFile',
             'label':'&File',
             'items': [
                  {'type':'MenuItem',
                   'name':'menuFileExit',
                   'label':'E&xit',
                   'command':'exit',
                  },
              ]
             },
         ]
     },
         'components': [

{'type':'StaticText', 
    'name':'Result', 
    'position':(115, 150), 
    'size':(65, -1), 
    },

{'type':'Button', 
    'name':'Calculate', 
    'position':(115, 105), 
    'label':'Calculate', 
    },

{'type':'TextField', 
    'name':'Principal', 
    'position':(115, 10), 
    'size':(70, -1), 
    'text':'100000', 
    },

{'type':'TextField', 
    'name':'InterestRate', 
    'position':(115, 35), 
    'size':(35, -1), 
    'text':'7.5', 
    },

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