~ubuntu-branches/ubuntu/maverick/turtleart/maverick

« back to all changes in this revision

Viewing changes to TurtleArt/taconstants.py

  • Committer: Bazaar Package Importer
  • Author(s): Luke Faraone, Matthew Gallagher, Luke Faraone
  • Date: 2010-09-13 22:02:36 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100913220236-qixjokz9ktyfn7qb
Tags: 98-1
[ Matthew Gallagher ]
* Don't modify other packages' files in maintainer scripts to adhere
  to Debian Policy. Closes: #596474.
* Correct typo in debian/sugar-turtleart-activity.links so the activity 
  icon is installed properly

[ Luke Faraone ]
* New upstream version. 
* Depend on libgtk2.0-bin to solve broken installation script.  
* Wrap tests in postrm in if statements to allow package removal when
  used commands are removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
             'storein', 'start'],
135
135
            ['kbinput', 'push', 'printheap', 'keyboard', 'pop', 'clearheap',
136
136
             'myfunc1arg',  'userdefined', 'addturtle', 'comment', 'print',
137
 
             'cartesian', 'width', 'height', 'polar', 'sandwichtop',
 
137
             'cartesian', 'width', 'height', 'polar', 'sandwichtop_no_label',
138
138
             'sandwichbottom', 'readpixel', 'see'],
139
139
            ['journal', 'audio', 'description', 'hideblocks', 'showblocks',
140
140
             'fullscreen', 'savepix', 'savesvg', 'picturelist',
217
217
FLOW_STYLE_WHILE = ['while2']
218
218
FLOW_STYLE_ELSE = ['ifelse']
219
219
COLLAPSIBLE_TOP = ['sandwichtop']
220
 
COLLAPSIBLE_TOP_NO_ARM = ['sandwichtop2']
 
220
COLLAPSIBLE_TOP_NO_ARM = ['sandwichtop_no_arm']
 
221
COLLAPSIBLE_TOP_NO_LABEL = ['sandwichtop_no_label']
 
222
COLLAPSIBLE_TOP_NO_ARM_NO_LABEL = ['sandwichtop_no_arm_no_label']
221
223
COLLAPSIBLE_BOTTOM = ['sandwichbottom']
222
224
 
223
225
# Depreciated block styles
349
351
    'rightx':[_('picture right')],
350
352
    'savepix':[_('save picture')],
351
353
    'savesvg':[_('save SVG')],
352
 
    'sandwichbottom':[' '],
353
 
    'sandwichcollapsed':[_('click to open')],
 
354
    'sandwichbottom':[' ', ' '],
 
355
    'sandwichcollapsed':[' ', _('click to open')],
354
356
    'sandwichtop':[_('top of stack')],
355
 
    'sandwichtop2':[_('top of stack')],
 
357
    'sandwichtop_no_label':[' '],
 
358
    'sandwichtop_no_arm':[_('top of stack')],
 
359
    'sandwichtop_no_arm_no_label':[' '],
356
360
    'scale':[_('scale')],
357
361
    'see':[_('turtle sees')],
358
362
    'setcolor':[_('set color')],
489
493
    'rightpos':'rpos',
490
494
    'rightx':'rightx',
491
495
    'sandwichtop':'comment',
492
 
    'sandwichtop2':'comment',
 
496
    'sandwichtop_no_arm':'comment',
 
497
    'sandwichtop_no_label':'nop',
 
498
    'sandwichtop_no_arm_no_label':'nop',
493
499
    'sandwichbottom':'nop',
494
500
    'sandwichcollapsed':'nop',
495
501
    'savepix':'savepix',
578
584
    'repeat':[4, None, 'vspace'],
579
585
    'right':[90],
580
586
    'sandwichtop':[_('label')],
581
 
    'sandwichtop2':[_('label')],
 
587
    'sandwichtop_no_arm':[_('label')],
582
588
    'savepix':[_('picture name')],
583
589
    'savesvg':[_('picture name')],
584
590
    'setcolor':[0],
617
623
                         'template2x2', 'template1x1a', 'templatelist', 'nop',
618
624
                         'print', 'stack', 'hat', 'addturtle', 'myfunc',
619
625
                         'myfunc1arg', 'myfunc2arg', 'myfunc3arg', 'comment',
620
 
                         'sandwichtop', 'sandwichtop2', 'userdefined',
 
626
                         'sandwichtop', 'sandwichtop_no_arm', 'userdefined',
621
627
                         'userdefined2args', 'userdefined3args', 'storein']
622
628
 
623
629
CONTENT_ARGS = ['show', 'showaligned', 'push', 'storein', 'storeinbox1',
637
643
 
638
644
STATUS_SHAPES = ['status', 'info', 'nostack', 'noinput', 'emptyheap',
639
645
                 'emptybox', 'nomedia', 'nocode', 'overflowerror', 'negroot',
640
 
                 'syntaxerror', 'nofile', 'nojournal', 'zerodivide']
 
646
                 'syntaxerror', 'nofile', 'nojournal', 'zerodivide',
 
647
                 'notanumber']
641
648
 
642
649
643
650
# Emulate Sugar toolbar when running from outside of Sugar
656
663
             'descriptionoff':'description','template3':'templatelist',
657
664
             'template1':'template1x1', 'template2':'template2x1',
658
665
             'template6':'template1x2', 'template7':'template2x2', 
659
 
             'template4':'template1x1a', 'hres':'width', 'vres':'height' }
 
666
             'template4':'template1x1a', 'hres':'width', 'vres':'height',
 
667
             'sandwichtop2':'sandwichtop_no_arm'}
660
668
 
661
669
#
662
670
# Define the relative size and postion of media objects
800
808
    'sandwichbottom':_("bottom block in a collapsibe stack: click to collapse"),
801
809
    'sandwichcollapsed':_("bottom block in a collapsed stack: click to open"),
802
810
    'sandwichtop':_("top of a collapsible stack"),
803
 
    'sandwichtop2':_("top of a collapsed stack"),
 
811
    'sandwichtop_no_label':_("top of a collapsed stack"),
 
812
    'sandwichtop_no_arm':_("top of a collapsible stack"),
 
813
    'sandwichtop_no_arm_no_label':_("top of a collapsed stack"),
804
814
    'savepix':_("saves a picture to the Sugar Journal"),
805
815
    'savesvg':_("saves turtle graphics as an SVG file in the Sugar Journal"),
806
816
    'scale':_("holds current scale value"),
910
920
               [9, 'wait', 0, 0, [8, 10, None]],
911
921
               [10, ['number', '1'], 0, 0, [9, None]]],
912
922
    'picturelist':
913
 
              [[0, 'sandwichtop', 0, 0, [None, 1, 2]],
914
 
               [1, ['string', _('bulleted list')], 0, 0, [0, None]],
915
 
               [2, 'setxy', 0, 0, [0, 3, 4, 5]],
916
 
               [3, 'titlex', 0, 0, [2, None]],
917
 
               [4, 'titley', 0, 0, [2, None]],
918
 
               [5, 'setscale', 0, 0, [2, 6, 7]],
919
 
               [6, ['number', '100'], 0, 0, [5, None]],
920
 
               [7, 'show', 0, 0, [5, 8, 9]],
921
 
               [8, ['string',_('Title')], 0, 0, [7, None]],
922
 
               [9, 'setxy', 0, 0, [7, 10, 11, 12]],
923
 
               [10, 'leftx', 0, 0, [9, None]],
924
 
               [11, 'topy', 0, 0, [9, None]],
925
 
               [12, 'setscale', 0, 0, [9, 13, 14]],
926
 
               [13, ['number', '67'], 0, 0, [12, None]],
927
 
               [14, 'list', 0, 0, [12, 15, 16, 17]],
928
 
               [15, ['string','∙ '], 0, 0, [14, None]],
929
 
               [16, ['string','∙ '], 0, 0, [14, None]],
930
 
               [17, 'sandwichbottom', 0, 0, [14, None]]],
 
923
              [[0, 'sandwichtop_no_label', 0, 0, [None, 1]],
 
924
               [1, 'setxy', 0, 0, [0, 2, 3, 4]],
 
925
               [2, 'titlex', 0, 0, [1, None]],
 
926
               [3, 'titley', 0, 0, [1, None]],
 
927
               [4, 'setscale', 0, 0, [1, 5, 6]],
 
928
               [5, ['number', '100'], 0, 0, [4, None]],
 
929
               [6, 'show', 0, 0, [4, 7, 8]],
 
930
               [7, ['string',_('Title')], 0, 0, [6, None]],
 
931
               [8, 'setxy', 0, 0, [6, 9, 10, 11]],
 
932
               [9, 'leftx', 0, 0, [8, None]],
 
933
               [10, 'topy', 0, 0, [8, None]],
 
934
               [11, 'setscale', 0, 0, [8, 12, 13]],
 
935
               [12, ['number', '67'], 0, 0, [11, None]],
 
936
               [13, 'list', 0, 0, [11, 14, 15, 16]],
 
937
               [14, ['string','∙ '], 0, 0, [13, None]],
 
938
               [15, ['string','∙ '], 0, 0, [13, None]],
 
939
               [16, 'sandwichbottom', 0, 0, [13, None]]],
931
940
    'picture1x1a':
932
 
              [[0, 'sandwichtop', 0, 0, [None, 1, 2]],
933
 
               [1, ['string', _('picture')], 0, 0, [0, None]],
934
 
               [2, 'setxy', 0, 0, [0, 3, 4, 5]],
935
 
               [3, 'titlex', 0, 0, [2, None]],
936
 
               [4, 'titley', 0, 0, [2, None]],
937
 
               [5, 'setscale', 0, 0, [2, 6, 7]],
938
 
               [6, ['number', '100'], 0, 0, [5, None]],
939
 
               [7, 'show', 0, 0, [5, 8, 9]],
940
 
               [8, ['string',_('Title')], 0, 0, [7, None]],
941
 
               [9, 'setscale', 0, 0, [7, 10, 11]],
942
 
               [10, ['number', '90'], 0, 0, [9, None]],
943
 
               [11, 'setxy', 0, 0, [9, 12, 13, 14]],
944
 
               [12, 'leftx', 0, 0, [11, None]],
945
 
               [13, 'topy', 0, 0, [11, None]],
946
 
               [14, 'showaligned', 0, 0, [11, 15, 16]],
947
 
               [15, 'journal', 0, 0, [14, None]],
948
 
               [16, 'sandwichbottom', 0, 0, [14, None]]],
 
941
              [[0, 'sandwichtop_no_label', 0, 0, [None, 1]],
 
942
               [1, 'setxy', 0, 0, [0, 2, 3, 4]],
 
943
               [2, 'titlex', 0, 0, [1, None]],
 
944
               [3, 'titley', 0, 0, [1, None]],
 
945
               [4, 'setscale', 0, 0, [1, 5, 6]],
 
946
               [5, ['number', '100'], 0, 0, [4, None]],
 
947
               [6, 'show', 0, 0, [4, 7, 8]],
 
948
               [7, ['string',_('Title')], 0, 0, [6, None]],
 
949
               [8, 'setscale', 0, 0, [6, 9, 10]],
 
950
               [9, ['number', '90'], 0, 0, [8, None]],
 
951
               [10, 'setxy', 0, 0, [8, 11, 12, 13]],
 
952
               [11, 'leftx', 0, 0, [10, None]],
 
953
               [12, 'topy', 0, 0, [10, None]],
 
954
               [13, 'showaligned', 0, 0, [10, 14, 15]],
 
955
               [14, 'journal', 0, 0, [13, None]],
 
956
               [15, 'sandwichbottom', 0, 0, [13, None]]],
949
957
    'picture2x2':
950
 
              [[0, 'sandwichtop', 0, 0, [None, 1, 2]],
951
 
               [1, ['string', _('2×2 pictures')], 0, 0, [0, None]],
952
 
               [2, 'setxy', 0, 0, [0, 3, 4, 5]],
953
 
               [3, 'titlex', 0, 0, [2, None]],
954
 
               [4, 'titley', 0, 0, [2, None]],
955
 
               [5, 'setscale', 0, 0, [2, 6, 7]],
956
 
               [6, ['number', '100'], 0, 0, [5, None]],
957
 
               [7, 'show', 0, 0, [5, 8, 9]],
958
 
               [8, ['string',_('Title')], 0, 0, [7, None]],
959
 
               [9, 'setscale', 0, 0, [7, 10, 11]],
960
 
               [10, ['number', '35'], 0, 0, [9, None]],
961
 
               [11, 'setxy', 0, 0, [9, 12, 13, 14]],
962
 
               [12, 'leftx', 0, 0, [11, None]],
963
 
               [13, 'topy', 0, 0, [11, None]],
964
 
               [14, 'showaligned', 0, 0, [11, 15, 16]],
965
 
               [15, 'journal', 0, 0, [14, None]],
966
 
               [16, 'setxy', 0, 0, [14, 17, 18, 19]],
967
 
               [17, 'rightx', 0, 0, [16, None]],
968
 
               [18, 'topy', 0, 0, [16, None]],
969
 
               [19, 'showaligned', 0, 0, [16, 20, 21]],
970
 
               [20, 'journal', 0, 0, [19, None]],
971
 
               [21, 'setxy', 0, 0, [19, 22, 23, 24]],
972
 
               [22, 'leftx', 0, 0, [21, None]],
973
 
               [23, 'bottomy', 0, 0, [21, None]],
974
 
               [24, 'showaligned', 0, 0, [21, 25, 26]],
975
 
               [25, 'journal', 0, 0, [24, None]],
976
 
               [26, 'setxy', 0, 0, [24, 27, 28, 29]],
977
 
               [27, 'rightx', 0, 0, [26, None]],
978
 
               [28, 'bottomy', 0, 0, [26, None]],
979
 
               [29, 'showaligned', 0, 0, [26, 30, 31]],
980
 
               [30, 'journal', 0, 0, [29, None]],
981
 
               [31, 'sandwichbottom', 0, 0, [29, None]]],
 
958
              [[0, 'sandwichtop_no_label', 0, 0, [None, 1]],
 
959
               [1, 'setxy', 0, 0, [0, 2, 3, 4]],
 
960
               [2, 'titlex', 0, 0, [1, None]],
 
961
               [3, 'titley', 0, 0, [1, None]],
 
962
               [4, 'setscale', 0, 0, [1, 5, 6]],
 
963
               [5, ['number', '100'], 0, 0, [4, None]],
 
964
               [6, 'show', 0, 0, [4, 7, 8]],
 
965
               [7, ['string',_('Title')], 0, 0, [6, None]],
 
966
               [8, 'setscale', 0, 0, [6, 9, 10]],
 
967
               [9, ['number', '35'], 0, 0, [8, None]],
 
968
               [10, 'setxy', 0, 0, [8, 11, 12, 13]],
 
969
               [11, 'leftx', 0, 0, [10, None]],
 
970
               [12, 'topy', 0, 0, [10, None]],
 
971
               [13, 'showaligned', 0, 0, [10, 14, 15]],
 
972
               [14, 'journal', 0, 0, [13, None]],
 
973
               [15, 'setxy', 0, 0, [13, 16, 17, 18]],
 
974
               [16, 'rightx', 0, 0, [15, None]],
 
975
               [17, 'topy', 0, 0, [15, None]],
 
976
               [18, 'showaligned', 0, 0, [15, 19, 20]],
 
977
               [19, 'journal', 0, 0, [18, None]],
 
978
               [20, 'setxy', 0, 0, [18, 21, 22, 23]],
 
979
               [21, 'leftx', 0, 0, [20, None]],
 
980
               [22, 'bottomy', 0, 0, [20, None]],
 
981
               [23, 'showaligned', 0, 0, [20, 24, 25]],
 
982
               [24, 'journal', 0, 0, [23, None]],
 
983
               [25, 'setxy', 0, 0, [23, 26, 27, 28]],
 
984
               [26, 'rightx', 0, 0, [25, None]],
 
985
               [27, 'bottomy', 0, 0, [25, None]],
 
986
               [28, 'showaligned', 0, 0, [25, 29, 30]],
 
987
               [29, 'journal', 0, 0, [28, None]],
 
988
               [30, 'sandwichbottom', 0, 0, [28, None]]],
 
989
    'picture1x2':
 
990
              [[0, 'sandwichtop_no_label', 0, 0, [None, 1]],
 
991
               [1, 'setxy', 0, 0, [0, 2, 3, 4]],
 
992
               [2, 'titlex', 0, 0, [1, None]],
 
993
               [3, 'titley', 0, 0, [1, None]],
 
994
               [4, 'setscale', 0, 0, [1, 5, 6]],
 
995
               [5, ['number', '100'], 0, 0, [4, None]],
 
996
               [6, 'show', 0, 0, [4, 7, 8]],
 
997
               [7, ['string',_('Title')], 0, 0, [6, None]],
 
998
               [8, 'setscale', 0, 0, [6, 9, 10]],
 
999
               [9, ['number', '35'], 0, 0, [8, None]],
 
1000
               [10, 'setxy', 0, 0, [8, 11, 12, 13]],
 
1001
               [11, 'leftx', 0, 0, [10, None]],
 
1002
               [12, 'topy', 0, 0, [10, None]],
 
1003
               [13, 'showaligned', 0, 0, [10, 14, 15]],
 
1004
               [14, 'journal', 0, 0, [13, None]],
 
1005
               [15, 'setxy', 0, 0, [13, 16, 17, 18]],
 
1006
               [16, 'rightx', 0, 0, [15, None]],
 
1007
               [17, 'topy', 0, 0, [15, None]],
 
1008
               [18, 'showaligned', 0, 0, [15, 19, 20]],
 
1009
               [19, 'description', 0, 0, [18, None]],
 
1010
               [20, 'setxy', 0, 0, [18, 21, 22, 23]],
 
1011
               [21, 'leftx', 0, 0, [20, None]],
 
1012
               [22, 'bottomy', 0, 0, [20, None]],
 
1013
               [23, 'showaligned', 0, 0, [20, 24, 25]],
 
1014
               [24, 'journal', 0, 0, [23, None]],
 
1015
               [25, 'setxy', 0, 0, [23, 26, 27, 28]],
 
1016
               [26, 'rightx', 0, 0, [25, None]],
 
1017
               [27, 'bottomy', 0, 0, [25, None]],
 
1018
               [28, 'showaligned', 0, 0, [25, 29, 30]],
 
1019
               [29, 'description', 0, 0, [28, None]],
 
1020
               [30, 'sandwichbottom', 0, 0, [28, None]]],
982
1021
    'picture2x1':
983
 
              [[0, 'sandwichtop', 0, 0, [None, 1, 2]],
984
 
               [1, ['string', _('2×1 pictures')], 0, 0, [0, None]],
985
 
               [2, 'setxy', 0, 0, [0, 3, 4, 5]],
986
 
               [3, 'titlex', 0, 0, [2, None]],
987
 
               [4, 'titley', 0, 0, [2, None]],
988
 
               [5, 'setscale', 0, 0, [2, 6, 7]],
989
 
               [6, ['number', '100'], 0, 0, [5, None]],
990
 
               [7, 'show', 0, 0, [5, 8, 9]],
991
 
               [8, ['string',_('Title')], 0, 0, [7, None]],
992
 
               [9, 'setscale', 0, 0, [7, 10, 11]],
993
 
               [10, ['number', '35'], 0, 0, [9, None]],
994
 
               [11, 'setxy', 0, 0, [9, 12, 13, 14]],
995
 
               [12, 'leftx', 0, 0, [11, None]],
996
 
               [13, 'topy', 0, 0, [11, None]],
997
 
               [14, 'showaligned', 0, 0, [11, 15, 16]],
998
 
               [15, 'journal', 0, 0, [14, None]],
999
 
               [16, 'setxy', 0, 0, [14, 17, 18, 19]],
1000
 
               [17, 'leftx', 0, 0, [16, None]],
1001
 
               [18, 'bottomy', 0, 0, [16, None]],
1002
 
               [19, 'showaligned', 0, 0, [16, 20, 21]],
1003
 
               [20, 'description', 0, 0, [19, None]],
1004
 
               [21, 'setxy', 0, 0, [19, 22, 23, 24]],
1005
 
               [22, 'rightx', 0, 0, [21, None]],
1006
 
               [23, 'topy', 0, 0, [21, None]],
1007
 
               [24, 'showaligned', 0, 0, [21, 25, 26]],
1008
 
               [25, 'journal', 0, 0, [24, None]],
1009
 
               [26, 'setxy', 0, 0, [24, 27, 28, 29]],
1010
 
               [27, 'rightx', 0, 0, [26, None]],
1011
 
               [28, 'bottomy', 0, 0, [26, None]],
1012
 
               [29, 'showaligned', 0, 0, [26, 30, 31]],
1013
 
               [30, 'description', 0, 0, [29, None]],
1014
 
               [31, 'sandwichbottom', 0, 0, [29, None]]],
1015
 
    'picture1x2':
1016
 
              [[0, 'sandwichtop', 0, 0, [None, 1, 2]],
1017
 
               [1, ['string', _('1×2 pictures')], 0, 0, [0, None]],
1018
 
               [2, 'setxy', 0, 0, [0, 3, 4, 5]],
1019
 
               [3, 'titlex', 0, 0, [2, None]],
1020
 
               [4, 'titley', 0, 0, [2, None]],
1021
 
               [5, 'setscale', 0, 0, [2, 6, 7]],
1022
 
               [6, ['number', '100'], 0, 0, [5, None]],
1023
 
               [7, 'show', 0, 0, [5, 8, 9]],
1024
 
               [8, ['string',_('Title')], 0, 0, [7, None]],
1025
 
               [9, 'setscale', 0, 0, [7, 10, 11]],
1026
 
               [10, ['number', '35'], 0, 0, [9, None]],
1027
 
               [11, 'setxy', 0, 0, [9, 12, 13, 14]],
1028
 
               [12, 'leftx', 0, 0, [11, None]],
1029
 
               [13, 'topy', 0, 0, [11, None]],
1030
 
               [14, 'showaligned', 0, 0, [11, 15, 16]],
1031
 
               [15, 'journal', 0, 0, [14, None]],
1032
 
               [16, 'setxy', 0, 0, [14, 17, 18, 19]],
1033
 
               [17, 'rightx', 0, 0, [16, None]],
1034
 
               [18, 'topy', 0, 0, [16, None]],
1035
 
               [19, 'showaligned', 0, 0, [16, 20, 21]],
1036
 
               [20, 'description', 0, 0, [19, None]],
1037
 
               [21, 'setxy', 0, 0, [19, 22, 23, 24]],
1038
 
               [22, 'leftx', 0, 0, [21, None]],
1039
 
               [23, 'bottomy', 0, 0, [21, None]],
1040
 
               [24, 'showaligned', 0, 0, [21, 25, 26]],
1041
 
               [25, 'journal', 0, 0, [24, None]],
1042
 
               [26, 'setxy', 0, 0, [24, 27, 28, 29]],
1043
 
               [27, 'rightx', 0, 0, [26, None]],
1044
 
               [28, 'bottomy', 0, 0, [26, None]],
1045
 
               [29, 'showaligned', 0, 0, [26, 30, 31]],
1046
 
               [30, 'description', 0, 0, [29, None]],
1047
 
               [31, 'sandwichbottom', 0, 0, [29, None]]],
 
1022
              [[0, 'sandwichtop_no_label', 0, 0, [None, 1]],
 
1023
               [1, 'setxy', 0, 0, [0, 2, 3, 4]],
 
1024
               [2, 'titlex', 0, 0, [1, None]],
 
1025
               [3, 'titley', 0, 0, [1, None]],
 
1026
               [4, 'setscale', 0, 0, [1, 5, 6]],
 
1027
               [5, ['number', '100'], 0, 0, [4, None]],
 
1028
               [6, 'show', 0, 0, [4, 7, 8]],
 
1029
               [7, ['string',_('Title')], 0, 0, [6, None]],
 
1030
               [8, 'setscale', 0, 0, [6, 9, 10]],
 
1031
               [9, ['number', '35'], 0, 0, [8, None]],
 
1032
               [10, 'setxy', 0, 0, [8, 11, 12, 13]],
 
1033
               [11, 'leftx', 0, 0, [10, None]],
 
1034
               [12, 'topy', 0, 0, [10, None]],
 
1035
               [13, 'showaligned', 0, 0, [10, 14, 15]],
 
1036
               [14, 'journal', 0, 0, [13, None]],
 
1037
               [15, 'setxy', 0, 0, [13, 16, 17, 18]],
 
1038
               [16, 'rightx', 0, 0, [15, None]],
 
1039
               [17, 'topy', 0, 0, [15, None]],
 
1040
               [18, 'showaligned', 0, 0, [15, 19, 20]],
 
1041
               [19, 'journal', 0, 0, [18, None]],
 
1042
               [20, 'setxy', 0, 0, [18, 21, 22, 23]],
 
1043
               [21, 'leftx', 0, 0, [20, None]],
 
1044
               [22, 'bottomy', 0, 0, [20, None]],
 
1045
               [23, 'showaligned', 0, 0, [20, 24, 25]],
 
1046
               [24, 'description', 0, 0, [23, None]],
 
1047
               [25, 'setxy', 0, 0, [23, 26, 27, 28]],
 
1048
               [26, 'rightx', 0, 0, [25, None]],
 
1049
               [27, 'bottomy', 0, 0, [25, None]],
 
1050
               [28, 'showaligned', 0, 0, [25, 29, 30]],
 
1051
               [29, 'description', 0, 0, [28, None]],
 
1052
               [30, 'sandwichbottom', 0, 0, [28, None]]],
1048
1053
    'picture1x1':
1049
 
              [[0, 'sandwichtop', 0, 0, [None, 1, 2]],
1050
 
               [1, ['string', _('1×1 pictures')], 0, 0, [0, None]],
1051
 
               [2, 'setxy', 0, 0, [0, 3, 4, 5]],
1052
 
               [3, 'titlex', 0, 0, [2, None]],
1053
 
               [4, 'titley', 0, 0, [2, None]],
1054
 
               [5, 'setscale', 0, 0, [2, 6, 7]],
1055
 
               [6, ['number', '100'], 0, 0, [5, None]],
1056
 
               [7, 'show', 0, 0, [5, 8, 9]],
1057
 
               [8, ['string',_('Title')], 0, 0, [7, None]],
1058
 
               [9, 'setscale', 0, 0, [7, 10, 11]],
1059
 
               [10, ['number', '35'], 0, 0, [9, None]],
1060
 
               [11, 'setxy', 0, 0, [9, 12, 13, 14]],
1061
 
               [12, 'leftx', 0, 0, [11, None]],
1062
 
               [13, 'topy', 0, 0, [11, None]],
1063
 
               [14, 'showaligned', 0, 0, [11, 15, 16]],
1064
 
               [15, 'journal', 0, 0, [14, None]],
1065
 
               [16, 'setxy', 0, 0, [14, 17, 18, 19]],
1066
 
               [17, 'rightx', 0, 0, [16, None]],
1067
 
               [18, 'topy', 0, 0, [16, None]],
1068
 
               [19, 'showaligned', 0, 0, [16, 20, 21]],
1069
 
               [20, 'description', 0, 0, [19, None]],
1070
 
               [21, 'sandwichbottom', 0, 0, [19, None]]],
 
1054
              [[0, 'sandwichtop_no_label', 0, 0, [None, 1]],
 
1055
               [1, 'setxy', 0, 0, [0, 2, 3, 4]],
 
1056
               [2, 'titlex', 0, 0, [1, None]],
 
1057
               [3, 'titley', 0, 0, [1, None]],
 
1058
               [4, 'setscale', 0, 0, [1, 5, 6]],
 
1059
               [5, ['number', '100'], 0, 0, [4, None]],
 
1060
               [6, 'show', 0, 0, [4, 7, 8]],
 
1061
               [7, ['string',_('Title')], 0, 0, [6, None]],
 
1062
               [8, 'setscale', 0, 0, [6, 9, 10]],
 
1063
               [9, ['number', '35'], 0, 0, [8, None]],
 
1064
               [10, 'setxy', 0, 0, [8, 11, 12, 13]],
 
1065
               [11, 'leftx', 0, 0, [10, None]],
 
1066
               [12, 'topy', 0, 0, [10, None]],
 
1067
               [13, 'showaligned', 0, 0, [10, 14, 15]],
 
1068
               [14, 'journal', 0, 0, [13, None]],
 
1069
               [15, 'setxy', 0, 0, [13, 16, 17, 18]],
 
1070
               [16, 'rightx', 0, 0, [15, None]],
 
1071
               [17, 'topy', 0, 0, [15, None]],
 
1072
               [18, 'showaligned', 0, 0, [15, 19, 20]],
 
1073
               [19, 'description', 0, 0, [18, None]],
 
1074
               [20, 'sandwichbottom', 0, 0, [18, None]]],
1071
1075
         }