Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 926 Bytes

devel-faq.rst

File metadata and controls

19 lines (11 loc) · 926 Bytes

Natron Python FAQ

Here are a few frequently asked questions.

There may be more answers in the Natron forum, especially in the All About Natron Python Scripting topic.

Q: How can I get the location of the current Natron executable? :

import sys
print(sys.executable)

Q: How can I get all widgets from a modal dialog <PythonReference/NatronGui/PyModalDialog>?

PythonReference/NatronGui/PyModalDialog inherits from Qdialog, which inherits from QObject, which has a QObject::children() method.