Skip to content

Chapter 10 errata #4

@mistermuffins

Description

@mistermuffins

Adding accelerators

  • In the definition of GenericMainMenu, the accelerator for "New Record" is listed as 'Ctrl+R', but the corresponding keybind is 'Control-n'. A similar mistake occurs in MacOsMainMenu. FWIW, I think Ctrl+N makes more sense.
Image

Building the macOS menu
listing: # mainmenu.py, inside MacOSMainMenu._build_menu()

  • We call self.add_cascade() for the File menu, but this shouldn't be necessary since we iterate through the self._menus dictionary at the end. (I don't have a Mac so I have not verified this issue).

Misc

  • Testing this out on Windows, it looks like fieldbackground for the LoginDialog widget might not be supported. The background for the name and password entries remains white in the invalid state.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions