MCPcopy Create free account
hub / github.com/Image-Py/imagepy / name

Method name

imagepy/core/manager/windowmanager.py:204–212  ·  view source on GitHub ↗
(cls, name)

Source from the content-addressed store, hash-verified

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):

Callers 3

set_titleMethod · 0.45
set_titleMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected