/usr/share/pyshared/PythonCard/tools/experimentalResourceEditor/modules/newComponentDialog.rsrc.py is in python-pythoncard 0.8.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | {'type':'CustomDialog',
'name':'Template',
'title':'Dialog Template',
'size':(300, 170),
'components': [
{'type':'TextField',
'name':'fldName',
'position':(60, 9),
'size':(230, -1),
},
{'type':'TextField',
'name':'fldLabelOrText',
'position':(60, 40),
'size':(230, -1),
},
{'type':'CheckBox',
'name':'chkHorizontal',
'position':(10, 80),
'label':'Offset Horizontally',
},
{'type':'CheckBox',
'name':'chkVertical',
'position':(170, 80),
'label':'Offset Vertically',
},
{'type':'Button',
'id':5100,
'name':'btnOK',
'position':(30, 110),
'label':'OK',
},
{'type':'Button',
'id':5101,
'name':'btnCancel',
'position':(130, 110),
'label':'Cancel',
},
{'type':'StaticText',
'name':'lblLabelOrText',
'position':(5, 40),
'size':(50, -1),
'alignment':'right',
'text':'Label:',
},
{'type':'StaticText',
'name':'lblName',
'position':(5, 10),
'size':(50, -1),
'alignment':'right',
'text':'Name:',
},
] # end components
} # end CustomDialog
|