MCPcopy Index your code
hub / github.com/python/cpython / get_new_keys_name

Method get_new_keys_name

Lib/idlelib/configdialog.py:1415–1421  ·  view source on GitHub ↗

Return new key set name from query popup.

(self, message)

Source from the content-addressed store, hash-verified

1413 self.bindingslist.select_anchor(list_index)
1414
1415 def get_new_keys_name(self, message):
1416 "Return new key set name from query popup."
1417 used_names = (idleConf.GetSectionList('user', 'keys') +
1418 idleConf.GetSectionList('default', 'keys'))
1419 new_keyset = SectionName(
1420 self, 'New Custom Key Set', message, used_names).result
1421 return new_keyset
1422
1423 def save_as_new_key_set(self):
1424 "Prompt for name of new key set and save changes using that name."

Callers 3

get_new_keysMethod · 0.95
save_as_new_key_setMethod · 0.95

Calls 2

SectionNameClass · 0.90
GetSectionListMethod · 0.80

Tested by 1