diff options
author | 2024-07-12 12:08:35 +0200 | |
---|---|---|
committer | 2024-07-12 12:10:43 +0200 | |
commit | 97e35f7d37ed857fba9b8d831c82b2cc8cf7b31b (patch) | |
tree | 9d231fa5c49b67e7c5b06c05488598a0f9c07b02 /wgpu | |
parent | 1c1bee6fd822db1e5fdf45953d3b3970a7e50510 (diff) | |
download | iced-97e35f7d37ed857fba9b8d831c82b2cc8cf7b31b.tar.gz iced-97e35f7d37ed857fba9b8d831c82b2cc8cf7b31b.tar.bz2 iced-97e35f7d37ed857fba9b8d831c82b2cc8cf7b31b.zip |
Add `on_press_with` method for `Button`
This allows using a closure to produce the message
only when the `Button` is actually pressed. Useful
when generating the message may be expensive.
Diffstat (limited to 'wgpu')
0 files changed, 0 insertions, 0 deletions