summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-14 20:03:02 -0400
committerPietro Gagliardi <[email protected]>2014-03-14 20:03:02 -0400
commita7f7ea1b8da51a19aaca7d5d989a28f0c9ecbf94 (patch)
treea054a7abea61eb6d9eb8bd16f807de99494d0d0e /test/main.go
parentaf7a218b473e8602ad818dbf9688efa5d3594648 (diff)
Major overhaul of the way GTK+ events are handled. Closures that perform events are no longer generated; instead all events are given to fixed, compile-time, cgo-exported callback functions that take the sysData as user data. This saves memory (we no longer need to generate closures and we no longer have to save them elsewhere to keep them from being garbage collected) and makes the top of sysdata_unix.go slightly cleaner, but it moves the code for handling UI events into callbacks_unix.go. This is needed for Area, in which we need to feed the sysData to an event connected to a subwidget instead of the main widget returned.
Diffstat (limited to 'test/main.go')
0 files changed, 0 insertions, 0 deletions