walk
walk copied to clipboard
Add RunWithContext function
At the moment, there is no way to cancel the GUI's run if something went wrong in some other part of an application.
I propose to add a window.RunWithContext function to pass the context.
@kukymbr Thanks, this is nice. I tried to avoid Run with my message loop, but that only shows an empty window, probably because I cannot call RunSynchronized on the group. With your addition, everything works for me and I can cancel the context to close the window. I hope this will be merged, for now, I am using your forked repo.