summaryrefslogtreecommitdiff
path: root/listbox_unix.go
AgeCommit message (Collapse)Author
2014-08-30Out with the old...Pietro Gagliardi
2014-07-02Moved it all back; the preemptive multitaksing during an event handler kills ↵Pietro Gagliardi
us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
2014-07-02Moved everything out of the way pending rewrite.Pietro Gagliardi
2014-06-10More go fmt.Pietro Gagliardi
2014-05-19Removed the extra #cgo directives from the Unix files. cgo collects ↵Pietro Gagliardi
directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
2014-04-27Resolved TODOs in listbox_unix.go; also rewrote some related if expressions ↵Pietro Gagliardi
there to be clearer.
2014-04-27Made Listbox's column autoresizing on GTK+.Pietro Gagliardi
2014-04-26Changed fromgchar()/togchar() to fromgstr()/togstr() in the GTK+ code; the ↵Pietro Gagliardi
new names are more precise (though they don't operate on GStrings; that's not an issue here though).
2014-04-26Made the C.GoString() part of fromgchar() in gtkcasts_unix.go to reduce the ↵Pietro Gagliardi
number of calls to that function elsewhere (makes things simpler).
2014-04-06Added thanks comment (see previous commit).Pietro Gagliardi
2014-04-06Added borders to GTK+ Listboxes (thanks to jlindgren in irc.gimp.net/#gtk+); ↵Pietro Gagliardi
ends that TODO.
2014-04-01Got rid of gtkWidget and changed to using *C.GtkWidget everywhere. This gets ↵Pietro Gagliardi
rid of some of the casting functions and invocations of said functions, and only adds sysdata_unix.go to the cgo list.
2014-04-01Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that ↵Pietro Gagliardi
file a bit.
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-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-09Removed gListboxSelected; it was never being called anyway (only ↵Pietro Gagliardi
gListboxSelectedMulti is; Windows still uses selectedIndex() for Listbox because of differences in how multi-selection listboxes are handled there and Mac OS X never had this function written to begin with).
2014-03-08Added Combobox/Listbox.Len() 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-17Simplified the GTK+ Listbox code and added a documentation blob to it.Pietro Gagliardi
2014-02-17Split the GTK+ ListBox implementation into its own file.Pietro Gagliardi