(cls, name)
| 202 | |
| 203 | @classmethod |
| 204 | def name(cls, name): |
| 205 | if name==None:name='Table' |
| 206 | titles = [i().title for i in cls.windows] |
| 207 | if not name in titles : |
| 208 | return name |
| 209 | for i in range(1, 100) : |
| 210 | title = "{}-{}".format(name,i) |
| 211 | if not title in titles: |
| 212 | return title |
| 213 | |
| 214 | @classmethod |
| 215 | def close(cls, name): |