+ implement hexagon sketch

This commit is contained in:
wmayer
2014-06-03 14:54:27 +02:00
parent c05801d6ed
commit 5917d21395
6 changed files with 92 additions and 8 deletions

View File

@@ -119,6 +119,19 @@ PyObject* DocumentPy::setEdit(PyObject *args)
Py_Return;
}
PyObject* DocumentPy::getInEdit(PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return NULL;
ViewProvider* vp = getDocumentPtr()->getInEdit();
if (vp) {
return vp->getPyObject();
}
Py_Return;
}
PyObject* DocumentPy::resetEdit(PyObject *args)
{
if (!PyArg_ParseTuple(args, ";No arguments allowed")) // convert args: Python->C