conformal / gotk3

Go bindings for GTK3
ISC License
470 stars 81 forks source link

Adding a bunch of functions my app needs #59

Closed shish closed 10 years ago

shish commented 10 years ago

Several cairo functions to create an image, draw on it, and save it to a file (plus example of doing that)

Some GTK odds & ends, in particular enough to have a GtkDrawingArea which responds to mouse events

I haven't done the full APIs, just what I've needed so far, and I will probably be needing more (and thus adding more) shortly; sending a pull request now so that you can tell me if I'm doing anything stupid before I do too much work :)

Even though it's incomplete, it would be nice to merge what's there as my GTK patches require the GDK patches, and having them upstream is cleaner than rewriting all the import statements.

shish commented 10 years ago

Will get to fixing those things :) I also wonder if it's worth breaking this up into several smaller pull requests? It seems to have grown a little out of hand when I stopped being slow and tidy and started just taking a shotgun approach to making things work :P

jrick commented 10 years ago

Separate pull requests would be great, then I can merge the stuff that's ready now.

shish commented 10 years ago

Closing this as the finished parts of it are now spread over several other small pull requests