Last active
August 30, 2019 18:43
-
-
Save trimoq/ee57703b37cf98cbd8df7ef8a7887eb3 to your computer and use it in GitHub Desktop.
Callback with gtk-rs, capturing passed references
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
btn_load_file.connect_clicked( move | widget | { | |
// … | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment