Detailed Description

Here are listed all classes being part of NatronEngine module. This module is loaded by Natron natively in GUI mode only. In that case, access is granted to these classes in your scripts without importing anything. Scripts that want to operate both in command line background mode and in GUI mode should poll the isBackground() function on the natron object before calling functions dependent on the module NatronGui. E.g:

if not NatronEngine.natron.isBackground():
    # do GUI only stuff here