On Thu, Jan 7, 2021 at 7:43 AM Rich Shepard <rshep...@appl-ecosys.com> wrote: > This is the working version of the stanza I initially posted: > > file_menu.add_command( > label = 'New', > command = self.callbacks['file->new', underline: 0], > accelerator = 'Ctrl+N' > ) > > The label line separated from the command with a comma. The underline option > is a key and separated from its value with a colon. >
Are you sure that this works? It's syntactically valid, but I don't think it means what you think it does. ChrisA -- https://mail.python.org/mailman/listinfo/python-list