summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-12 12:08:35 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-12 12:10:43 +0200
commit97e35f7d37ed857fba9b8d831c82b2cc8cf7b31b (patch)
tree9d231fa5c49b67e7c5b06c05488598a0f9c07b02 /wgpu
parent1c1bee6fd822db1e5fdf45953d3b3970a7e50510 (diff)
downloadiced-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