cli_args is a list of strings. The list is assigned to the default Entry StringVar. The strings are displayed joined by ' ' for display.
(self, parent, title, *, cli_args=[],
_htest=False, _utest=False)
| 341 | # Used in runscript.run_custom_event |
| 342 | |
| 343 | def __init__(self, parent, title, *, cli_args=[], |
| 344 | _htest=False, _utest=False): |
| 345 | """cli_args is a list of strings. |
| 346 | |
| 347 | The list is assigned to the default Entry StringVar. |
| 348 | The strings are displayed joined by ' ' for display. |
| 349 | """ |
| 350 | message = 'Command Line Arguments for sys.argv:' |
| 351 | super().__init__( |
| 352 | parent, title, message, text0=cli_args, |
| 353 | _htest=_htest, _utest=_utest) |
| 354 | |
| 355 | def create_extra(self): |
| 356 | "Add run mode on rows 10-12." |