2.1. Global functions

2.1.1. Detailed Description

mocha.project.set_license_search_path(path)
Parameters:path (unicode) – New license search path.

Sets the current license directory path. By default it equals to installed mocha license path.

mocha.project.get_license_path()
Return type:unicode

Returns the current license directory path. By default it equals to installed mocha license path.

mocha.project.get_current_project()
Return type:mocha.project.Project

Returns the current open project. Use it only in init.py script to get the current open project.

mocha.project.register_custom_tool_type(tool_type)
mocha.project.tool_instance(tool_type)
Return type:PyObject
mocha.project.registered_tool_types()
Return type:PyObject
mocha.project.set_overlay_renderer(arg__1)