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
|
{'application':{'type':'Application',
'name':'Chat',
'backgrounds': [
{'type':'Background',
'name':'bgMin',
'title':'',
'size':(500, 482),
'style':['resizeable'],
'menubar': {'type':'MenuBar',
'menus': [
{'type':'Menu',
'name':'menuFile',
'label':'File',
'items': [
{'type':'MenuItem',
'name':'menuFileSend',
'label':'&Send\tCtrl+S',
'command':'doSend',
},
{'type':'MenuItem',
'name':'menuFileClose',
'label':'Close',
},
],
},
{'type':'Menu',
'name':'menuOptions',
'label':'Options',
'items': [
{'type':'MenuItem',
'name':'menuOptionsSendOnReturn',
'label':'Send on &Return\tCtrl+R',
'checkable':1,
'checked':1,
},
],
},
]
},
'components': [
{'type':'TextArea',
'name':'fldTranscript',
#'position':(0, -2),
'size':(400, 300),
'editable':0,
},
{'type':'TextArea',
'name':'fldInput',
#'position':(-2, 358),
'size':(300, 100),
},
{'type':'Button',
'name':'btnSend',
'position':(410, 410),
'label':'Send',
'command':'doSend',
},
] # end components
} # end background
] # end backgrounds
} }
|