onload

onload (ide)

Called when autoload.py is loaded for the first time (when the project is opened). It is typically used for adding menu commands to the project tree.

Example

def onload(ide):
    ide.addCommand("Test|msg|Print example", "print_hello")