summaryrefslogtreecommitdiff
path: root/gtkcalls_unix.go
AgeCommit message (Collapse)Author
2014-03-23Fixed the shrinking not working: the Cairo clip rect apparently can fall ↵Pietro Gagliardi
outside the actual size of the widget. (I did notice this before.)
2014-03-23Added Area resizing. Everything mostly works, but not making things smaller...Pietro Gagliardi
2014-03-16Split out includes of <gtk/gtk.h> into a new header file so the GTK+ ↵Pietro Gagliardi
versioning macros can be included in all Go files, not just area_unix.go.
2014-03-15Allowed GTK+ windows to be resized smaller than the size request of the ↵Pietro Gagliardi
controls within.
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-03-12Added GTK+ indeterminate ProgressBars.Pietro Gagliardi
2014-03-08Added Combobox/Listbox.Len() and its GTK+ implementation.Pietro Gagliardi
2014-03-07Oops, the garbage collector is collecting our GTK+ idle callback too (much ↵Pietro Gagliardi
later than it did the other callbacks). Fixed.
2014-03-05Have ui.Go() return on main() return on Unix.Pietro Gagliardi
2014-02-25Added password entry fields; they are the alternate mode of LineEdit.Pietro Gagliardi
2014-02-25Added GTK+ implementation of ProgressBar and added a ProgressBar to the test ↵Pietro Gagliardi
program.
2014-02-23Added the preferred widget size basework and its GTK+ implementation.Pietro Gagliardi
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-18Fixed the faults: upon further examination, the garbage collector was eating ↵Pietro Gagliardi
the callback closures!
2014-02-17Split the GTK+ ListBox implementation into its own file.Pietro Gagliardi
2014-02-17Isolated all the non-listbox-related GTK+ type conversions into their own ↵Pietro Gagliardi
file with functions to reduce the amount of code noise in gtkcalls_unix.go.
2014-02-17Whoops, the GList returned by gtk_tree_selection_get_selected_rows contains ↵Pietro Gagliardi
GtkTreePaths, not GtkTreeRowReferences. Fixed the index getting.
2014-02-17Separated GTK+ listbox index retreival and dereferencing, just to be safe/to ↵Pietro Gagliardi
allow easier debugging.
2014-02-17Added scrollbars to the Listbox GtkTreeViews.Pietro Gagliardi
2014-02-17Okay, fixed item showing; the GtkTableView column just needed the text ↵Pietro Gagliardi
attribute. Now I need scrollbars...
2014-02-17Fixed GTK+ listboxes to create item cells and not show headers; still not ↵Pietro Gagliardi
displaying item text...
2014-02-16Added GTK+ listboxes... sort of. This whole thing is so broken it's funny.Pietro Gagliardi
2014-02-16Added GTK+ Labels.Pietro Gagliardi
2014-02-16Added GTK+ LineEdit. It appears there's something weird happening now...Pietro Gagliardi
2014-02-16Added GTK+ comboboxes. ...and THESE aren't being positioned properly, sigh...Pietro Gagliardi
2014-02-16Added the GTK+ equivalent of Window.Title() and Button.Text() in preparation ↵Pietro Gagliardi
for adding the GTK+ implementation of Combobox.
2014-02-16Added Checkbox to GTK+. Also added a TODO about crashes.Pietro Gagliardi
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
2014-02-16Added basic signal connection. I'm going to need to build a different ↵Pietro Gagliardi
callback system, though...
2014-02-16Added the beginning of the Unix (GTK+) implementation.Pietro Gagliardi