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

Method helplist_item_add

Lib/idlelib/configdialog.py:2157–2167  ·  view source on GitHub ↗

Handle add button for the help list. Query for name and location of new help sources and add them to the list.

(self)

Source from the content-addressed store, hash-verified

2155 self.button_helplist_remove.state(('disabled',))
2156
2157 def helplist_item_add(self):
2158 """Handle add button for the help list.
2159
2160 Query for name and location of new help sources and add
2161 them to the list.
2162 """
2163 help_source = HelpSource(self, 'New Help Source').result
2164 if help_source:
2165 self.user_helplist.append(help_source)
2166 self.helplist.insert(END, help_source[0])
2167 self.update_help_changes()
2168
2169 def helplist_item_edit(self):
2170 """Handle edit button for the help list.

Callers 1

Calls 4

update_help_changesMethod · 0.95
HelpSourceClass · 0.90
appendMethod · 0.45
insertMethod · 0.45

Tested by 1