#include <FXPython.h>
This little helper class works similarly to FX::QMtxHold in setting a context on construction and unsetting it on destruction. You can use undo() and redo() if needed.
Public Member Functions | |
FXPython_CtxHold (FXPythonInterp *i=FXPythonInterp::current()) | |
void | undo () |
void | redo () |
FX::FXPython_CtxHold::FXPython_CtxHold | ( | FXPythonInterp * | i = FXPythonInterp::current() |
) | [inline] |
Constructs an instance setting context to interpreter interp, defaulting to the current context.
void FX::Generic::DoUndo< obj, doaddr, undoaddr >::undo | ( | ) | [inline, inherited] |
Undoes the action.
void FX::Generic::DoUndo< obj, doaddr, undoaddr >::redo | ( | ) | [inline, inherited] |
Redoes the action.