Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/s/v/sverchok-HEAD/text_editor_Submenu.py   sverchok(Download)
def register():
    bpy.utils.register_class(SvScriptLoader)
    bpy.utils.register_class(SvTextSubMenu)
    bpy.types.TEXT_MT_templates.append(menu_draw)