Handle add button for the help list. Query for name and location of new help sources and add them to the list.
(self)
| 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. |