def rename(self, newname):
        return "ALTER %s %s RENAME TO %s" % (self.objtype, self.qualname(),
                                             newname)
Creates the toolkit-specific control for the widget.
dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/__init__.py/DbSchemaObject.rename--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/python_editor.py/PythonEditor._create_control