antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.43k stars 78 forks source link

How to use `events` #209

Closed MGlolenstine closed 4 years ago

MGlolenstine commented 4 years ago

I've noticed, that many Widgets have an events parameter. I'm assuming that it's a mask, that allows you to filter the events that the view will or will not ignore. But now I don't know how to implement that. Does it have something to do with the connect method?

antoyo commented 4 years ago

That's a gtk-related question, not a relm question. Please ask this question on the appropriate channel.