Get menu entry and url/local file for Additional Help. User enters a name for the Help resource and a web url or file name. The user can browse for the file.
(self, parent, title, *, menuitem='', filepath='',
used_names={}, _htest=False, _utest=False)
| 247 | # Used in ConfigDialog.HelpListItemAdd/Edit, (941/9) |
| 248 | |
| 249 | def __init__(self, parent, title, *, menuitem='', filepath='', |
| 250 | used_names={}, _htest=False, _utest=False): |
| 251 | """Get menu entry and url/local file for Additional Help. |
| 252 | |
| 253 | User enters a name for the Help resource and a web url or file |
| 254 | name. The user can browse for the file. |
| 255 | """ |
| 256 | self.filepath = filepath |
| 257 | message = 'Name for item on Help menu:' |
| 258 | super().__init__( |
| 259 | parent, title, message, text0=menuitem, |
| 260 | used_names=used_names, _htest=_htest, _utest=_utest) |
| 261 | |
| 262 | def create_extra(self): |
| 263 | "Add path widjets to rows 10-12." |