diff options
| author | Jeff Carr <[email protected]> | 2023-04-06 19:48:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-06 19:48:24 -0500 |
| commit | 8649f37a56bc31928d69077545f1e323a794c61a (patch) | |
| tree | a3567c8f8a6b3caa8402a0640baa56630dcf972e /toolkit/andlabs/structs.go | |
| parent | 6fb44679a28b29b60018b037c6f328cf3e98f934 (diff) | |
andlabs: use callback channel for window close
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/andlabs/structs.go')
| -rw-r--r-- | toolkit/andlabs/structs.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go index 9cc1b9d..4ab83a2 100644 --- a/toolkit/andlabs/structs.go +++ b/toolkit/andlabs/structs.go @@ -6,7 +6,8 @@ import "github.com/andlabs/ui" import _ "github.com/andlabs/ui/winmanifest" var andlabs map[int]*andlabsT -var callback func(int) bool +// var callback func(int) bool +var callback chan toolkit.Action // stores the raw toolkit internals type andlabsT struct { |
