From 55f14b7e61a0e4c22fc8990288782d5a42cd9026 Mon Sep 17 00:00:00 2001 From: craig Date: Sun, 24 Jun 2012 14:16:04 +0000 Subject: #10011: Scripter - add function for change name of page item git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17622 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/plugins/scriptplugin/cmdsetprop.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'scribus/plugins/scriptplugin/cmdsetprop.h') 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 -- cgit