[TD]expose Page request paint method to Python
This commit is contained in:
committed by
WandererFan
parent
3a7a12e436
commit
79f9fb6845
@@ -93,6 +93,16 @@ PyObject* DrawPagePy::getAllViews(PyObject* args)
|
||||
return Py::new_reference_to(ret);
|
||||
}
|
||||
|
||||
PyObject* DrawPagePy::requestPaint(PyObject* args)
|
||||
{
|
||||
(void) args;
|
||||
DrawPage* page = getDrawPagePtr();
|
||||
page->requestPaint();
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
|
||||
|
||||
// double getPageWidth() const;
|
||||
PyObject* DrawPagePy::getPageWidth(PyObject *)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user