summaryrefslogtreecommitdiff
path: root/callbacks_unix.go
AgeCommit message (Collapse)Author
2014-03-14Major overhaul of the way GTK+ events are handled. Closures that perform ↵Pietro Gagliardi
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.
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-12Changed the way uitask is dispatched on GTK+ to make event handling not a ↵Pietro Gagliardi
CPU hog.
2014-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-16Added window (and thus control) resizing. Other bugs have been fixed along ↵Pietro Gagliardi
the way.
2014-02-16[GTK+] Added buttons. Things aren't quite being positioned properly yet ↵Pietro Gagliardi
though...
2014-02-16Cleaned up the idle callback code.Pietro Gagliardi
2014-02-16Added cgo-safe callback code for GTK+ signals. GTK+ signals work!Pietro Gagliardi