File: minimalDialog.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 (28 lines) | stat: -rw-r--r-- 494 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
{'type':'CustomDialog',
    'name':'Minimal',
    'title':'Minimal dialog',
    'size':(200, 100),
    'components': [

{ 'type':'TextField',
  'name':'field1',
  'position':(0, 0),
  'text':'Hello PythonCard' },

{'type':'Button', 
    'name':'btnOK', 
    'position':(10, 35), 
    'label':'OK',
    'id':5100,
    'default':1,
    },

{'type':'Button', 
    'name':'btnCancel', 
    'position':(100, 35), 
    'label':'Cancel',
    'id':5101,
    },

] # end components
} # end CustomDialog