[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buttons in help buffer that displays contents of variables
From: |
Yuri Khan |
Subject: |
Re: Buttons in help buffer that displays contents of variables |
Date: |
Sun, 23 Jul 2023 14:45:55 +0700 |
On Sun, 23 Jul 2023 at 06:14, Heime <heimeborgia@protonmail.com> wrote:
> What does the button.el use as object to push to the action associated
> function
> that would be sensible. Would it be "action" ?
The documentation quoted upthread states the argument is named BUTTON.
It is easy to conclude that the action function, when called, will
receive as its argument a reference to the button object that was
clicked.
This pattern is widespread in GUI frameworks. It lets you create a
bunch of slightly different buttons and assign them all the same
single action, and it will be able to do slightly different things for
each button.
- Re: Buttons in help buffer that displays contents of variables, (continued)
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Stephen Berman, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/22
- Re: Buttons in help buffer that displays contents of variables,
Yuri Khan <=
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/23
- Re: Buttons in help buffer that displays contents of variables, Yuri Khan, 2023/07/23
- Re: Buttons in help buffer that displays contents of variables, Heime, 2023/07/23