summaryrefslogtreecommitdiffstats
path: root/scribus/plugins/scriptplugin/cmdsetprop.h
diff options
context:
space:
mode:
Diffstat (limited to 'scribus/plugins/scriptplugin/cmdsetprop.h')
-rw-r--r--scribus/plugins/scriptplugin/cmdsetprop.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/scribus/plugins/scriptplugin/cmdsetprop.h b/scribus/plugins/scriptplugin/cmdsetprop.h
index 991608c..592a6bb 100644
--- a/scribus/plugins/scriptplugin/cmdsetprop.h
+++ b/scribus/plugins/scriptplugin/cmdsetprop.h
@@ -193,5 +193,16 @@ May raise NotFoundError if the line style doesn't exist.\n\
/*! Set multiline */
PyObject *scribus_setmultiline(PyObject * /*self*/, PyObject* args);
+/*! docstring */
+PyDoc_STRVAR(scribus_setnewname__doc__,
+QT_TR_NOOP("setNewName(newname, [\"name\"])\n\
+\n\
+Sets the new name of the object \"name\" to the newname.\n\
+If \"name\" is not given the currently selected item is used.\n\
+\n\
+May raise NotFoundError if the line style doesn't exist.\n\
+"));
+/*! Set newname */
+PyObject *scribus_setnewname(PyObject * /*self*/, PyObject* args);
#endif