# Add \`selected_label\` to \`Button\` \(\#3478\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4b23c5c658351a2132a5c0af5aab86b0782c56b9

Requested commit: 4b23c5c658351a2132a5c0af5aab86b0782c56b9

Commit: 4b23c5c658351a2132a5c0af5aab86b0782c56b9

Tree: 595c1a9b1bbb04844075d516bb9ddd02f8499093

Author: Marshall Bowers

Committer: GitHub

## Message

```
Add `selected_label` to `Button` (#3478)

This PR adds a new `selected_label` method to `Button`.

This can be used to set a different label that should be rendered when
the `Button` is selected.

Release Notes:

- N/A
```

## Parents

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

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