File: chat.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 (87 lines) | stat: -rw-r--r-- 1,787 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
{'application':{'type':'Application',
          'name':'Chat',
    'backgrounds': [
    {'type':'Background',
          'name':'bgMin',
          'title':'Chat PythonCard Application',
          'size':(510, 482),

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

{'type':'StaticText', 
    'name':'stcYourIP', 
    'position':(170, 316), 
    'text':'Your IP Address:', 
    },

{'type':'StaticText', 
    'name':'stcIPAddress', 
    'position':(2, 341), 
    'text':'Send to IP addresses:', 
    },

{'type':'StaticText', 
    'name':'stcNickName', 
    'position':(2, 316), 
    'text':'Nick Name:', 
    },

{'type':'TextArea', 
    'name':'fldTranscript', 
    'position':(0, -2), 
    'size':(500, 311), 
    'editable':0, 
    },

{'type':'TextField', 
    'name':'fldNickname', 
    'position':(67, 312), 
    'size':(77, -1), 
    'text':'YourName', 
    },

{'type':'TextField', 
    'name':'fldYourIPAddress', 
    'position':(258, 312), 
    'size':(85, -1), 
    'text':'127.0.0.1', 
    },

{'type':'TextField', 
    'name':'fldSendAddresses', 
    'position':(112, 335), 
    'size':(274, -1), 
    'text':'127.0.0.1', 
    },

{'type':'TextArea', 
    'name':'fldInput', 
    'position':(-2, 358), 
    'size':(388, 79), 
    },

{'type':'Button', 
    'name':'btnSend', 
    'position':(410, 410), 
    'label':'Send', 
    },

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