Return a full copy of the object, optionally renaming it.
(self,name=None)
| 118 | self.colors = Struct(colordict) |
| 119 | |
| 120 | def copy(self,name=None): |
| 121 | """Return a full copy of the object, optionally renaming it.""" |
| 122 | if name is None: |
| 123 | name = self.name |
| 124 | return ColorScheme(name, self.colors.dict()) |
| 125 | |
| 126 | class ColorSchemeTable(dict): |
| 127 | """General class to handle tables of color schemes. |
nothing calls this directly
no test coverage detected