Skip to content

Instantly share code, notes, and snippets.

@trimoq
Created August 30, 2019 18:44
Show Gist options
  • Save trimoq/76f16f847e5d2473b2abf7791c3eadbb to your computer and use it in GitHub Desktop.
Save trimoq/76f16f847e5d2473b2abf7791c3eadbb to your computer and use it in GitHub Desktop.
Callback with move, capturing window but also moving lines
btn_load_file.connect_clicked( clone!(
 lines, window => move | widget | {
 // ..
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment