Skip to content

GTK4: Get the Menu Bar actions working #142

@dlbeswick

Description

@dlbeswick

#133

Please take a look at this: https://docs.gtk.org/gtk4/actions.html

In previous versions of GTK, logic around menu actions and popups was done via widget signals, and so this logic tended to live inside the widgets that made use of them.

In GTK4, whenever we see popup menu actions or accelerators, they should be implement by creating actions. In many cases it's appropriate to actually move these actions closer to objects implementing the program or at least application logic rather than the UI logic. I would guess that almost all of the actions in the main menu are better moved to BtEditApplication.

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