Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

        def make_block_types():
    global commands

    # Add extras
    for block in extras:
        if len(block) > 1:
            (flag, spec, command) = block[:3]
            commands.append([spec, flag, 20, command] + block[3:])
        else:
            commands.append(block)

    # Add not-actually-blocks
    commands += [
        ['%x.var', 'r', 9, 'readVariable', 'var'],
        ['%x.list', 'r', 12, "contentsOfList:", 'list'],
        ['%x', 'r', 10, 'getParam', 'param'],
        ['define %Z', 'h', 10, 'procDef'],
        ['%Z', ' ', 10, 'call'],
    ]

    # Blockify
    return map(blockify, commands)
        


src/k/u/kurt-2.0.5/kurt/scratch20/__init__.py   kurt(Download)
from kurt.plugin import Kurt, KurtPlugin
 
from kurt.scratch20.blocks import make_block_types, custom_block, make_spec
 
 
        "Vector Images",
    ]
    blocks = make_block_types()
 
    def load(self, fp):

src/k/u/kurt-HEAD/kurt/scratch20/__init__.py   kurt(Download)
from kurt.plugin import Kurt, KurtPlugin
 
from kurt.scratch20.blocks import make_block_types, custom_block, make_spec
 
 
        "Vector Images",
    ]
    blocks = make_block_types()
 
    def load(self, fp):