emilk / eframe_template

The easy way to make a Rust app with a GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do you detect events?

LordNacho opened this issue · comments

I have a number of items drawing correctly. When the user moves a slider or checks a box, how do I stick an event handler in there and do my processing? I couldn't find an example.

Figured it out, the widgets return a response object which can be checked for .clicked() etc