~toolpart/+junk/pythoncard

« back to all changes in this revision

Viewing changes to samples/testNotebook/doodle.rsrc.py

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-03-04 23:55:10 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100304235510-3v6lbhzwrgm0pcca
Tags: 0.8.2-1
* QA upload.
* New upstream release
* debian/control
  - set maintainer to QA group
  - set Homepage field, removing the URL from packages description
  - bump versioned b-d-i on python-support, to properly support Python module
  - replace b-d on python-all-dev with python-all, since building only
    arch:all packages
  - replace Source-Version substvar with source:Version
  - add ${misc:Depends} to binary packages Depends
* debian/watch
  - updated to use the SourceForge redirector; thanks to Raphael Geissert for
    the report and to Dario Minnucci for the patch; Closes: #449904
* debian/{pythoncard-doc, python-pythoncard}.install
  - use wildcards instead of site-packages to fix build with python 2.6;
    thanks to Ilya Barygin for the report and patch; Closes: #572332
* debian/pythoncard-doc.doc-base
  - set section to Programmin/Python
* debian/pythoncard-tools.menu
  - set menu main section to Applications
* debian/pythoncard-tools.postinst
  - removed, needed only to update the menu, but it's now created by debhelper

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
{ 'application':{ 'type':'Application',
 
3
            'name':'Doodle',
 
4
 
 
5
    'backgrounds':
 
6
 [ 
 
7
  { 'type':'Background',
 
8
    'name':'bgDoodle',
 
9
    'title':'Doodle PythonCard Application',
 
10
    'size':( 310, 300 ),
 
11
    'style':['resizeable'],
 
12
 
 
13
    'menubar': 
 
14
    { 
 
15
        'type':'MenuBar',
 
16
        'menus': 
 
17
        [
 
18
            { 'type':'Menu',
 
19
              'name':'menuFile',
 
20
              'label':'&File',
 
21
              'items': [ 
 
22
                { 'type':'MenuItem',
 
23
                  'name':'menuFileOpen',
 
24
                  'label':'&Open...\tCtrl+O' },
 
25
                { 'type':'MenuItem',
 
26
                  'name':'menuFileSaveAs',
 
27
                  'label':'Save &As...' },
 
28
                { 'type':'MenuItem', 'name':'fileSep1', 'label':'-' },
 
29
                { 'type':'MenuItem',
 
30
                  'name':'menuFileExit',
 
31
                  'label':'E&xit\tAlt+X',
 
32
                  'command':'exit' } ] },
 
33
            { 'type':'Menu',
 
34
              'name':'menuEdit',
 
35
              'label':'&Edit',
 
36
              'items': [ 
 
37
                { 'type':'MenuItem',
 
38
                  'name':'menuEditCopy',
 
39
                  'label':'&Copy\tCtrl+C'},
 
40
                { 'type':'MenuItem',
 
41
                  'name':'menuEditPaste',
 
42
                  'label':'&Paste\tCtrl+V'},
 
43
                { 'type':'MenuItem', 'name':'editSep1', 'label':'-' },
 
44
                { 'type':'MenuItem',
 
45
                  'name':'menuEditClear',
 
46
                  'label':'&Clear',
 
47
                  'command':'editClear'}
 
48
                ] }
 
49
        ]       
 
50
    },
 
51
 
 
52
   'components':
 
53
   [ 
 
54
    { 'type':'Button',
 
55
      'name':'btnColor',
 
56
      'position':(0, 0),
 
57
      'label':'Color' },
 
58
    { 'type':'BitmapCanvas',
 
59
      'name':'bufOff',
 
60
      'position':(0, 30),
 
61
      'size':(300, 230) },
 
62
   ]
 
63
  }
 
64
 ]
 
65
 }
 
66
 }
 
67