# gpui: add set menus example \(\#9131\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/39bd12a5577dec8996aaca8fc27a36c02bb39ab0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 39bd12a5577dec8996aaca8fc27a36c02bb39ab0

Requested commit: 39bd12a5577dec8996aaca8fc27a36c02bb39ab0

Commit: 39bd12a5577dec8996aaca8fc27a36c02bb39ab0

Tree: 6a0b040377bea5d99d79349a3649e369b7cf23bd

Author: Andrew

Committer: GitHub

## Message

```
gpui: add set menus example (#9131)

Add an example showing how to add a menu item, register an action with
the `AppContext`, and successfully call the action.

Release Notes:

- N/A
```

## Parents

- [e1f8a1e8b287171ea0bfd53573a64d8c3212ee28](https://git.cafe/gitcafe/zed/commit/e1f8a1e8b287171ea0bfd53573a64d8c3212ee28?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/39bd12a5577dec8996aaca8fc27a36c02bb39ab0?format=markdown)
