The DocumentObserverPython class is used to notify registered Python instances whenever something happens to a document, like creation, destruction, adding or removing viewproviders or when viewprovider property changes. More...
#include <DocumentObserverPython.h>
Public Member Functions | |
DocumentObserverPython (const Py::Object &obj) | |
Constructor. More... | |
virtual | ~DocumentObserverPython () |
Static Public Member Functions | |
static void | addObserver (const Py::Object &obj) |
static void | removeObserver (const Py::Object &obj) |
The DocumentObserverPython class is used to notify registered Python instances whenever something happens to a document, like creation, destruction, adding or removing viewproviders or when viewprovider property changes.
This is the equivalent to the app python document observer
DocumentObserverPython::DocumentObserverPython | ( | const Py::Object & | obj | ) |
Constructor.
Referenced by addObserver().
|
virtual |
|
static |
References DocumentObserverPython().
Referenced by Gui::Application::sAddDocObserver().
|
static |
Referenced by Gui::Application::sRemoveDocObserver().