Skip to content
GObject-introspection based bindings generator
Go Python C C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
atk-1.0
cairo-1.0
documentation
gdk-2.0
gdk-3.0
gdkpixbuf-2.0
gi Fix build. Mar 8, 2012
gio-2.0
glib-2.0
gobject-2.0 Bump up version and few fixes for that. Apr 24, 2012
gogtk-demo
gtk-2.0
gtk-3.0
gtksource-3.0
pango-1.0
pangocairo-1.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
waftools
.gitignore
LICENSE
README
binding_generator.go
cairo.go
comment_skipper.go Format everything with gofmt. Mar 3, 2012
config.json
function_builder.go
main.go
templates.go
type.go Format everything with gofmt. Mar 3, 2012
typeconv.go
util.go Format everything with gofmt. Mar 3, 2012
waf
wscript

README

WARNING! This project is no longer maintained. Probably doesn't even compile.

GObject-introspection based bindings generator for Go. Work in progress.

See 'documentation' dir for details.


At the moment build system is capable of building gtk-3.0 set only. Try it that way:

    ./waf configure build install

Or skip the install part:

    ./waf configure build

Install will install only libraries, it will skip the generator itself and the
demo app.

Build system is largely in alpha quality. It doesn't track all of the
dependencies and all that. All is a subject of ongoing work.


GObject-introspection is a new project, therefore it requires the set of fairly
recent both libraries and tools, here's the list of versions on my machine:

gobject-introspection    1.32.1
atk                      2.4.0
cairo                    1.12.2
gdk2/gtk2                2.24.13
gdk3/gtk3                3.4.4
gdk-pixbuf2              2.26.3
glib2                    2.32.4
gtksourceview3           3.4.2
pango                    1.30.1


Here's the short TODO list:
 - Implement unions (GdkEvent is the main user)
 - Implement the rest of gogtk-demo.
 - Implement the rest of typeconv.go functionality. Both Go -> C and C -> Go.
 - Think about adding "user_data" support for closures. At the moment my (nsf)
   opinion is that they are useless, because there are real language closures.
 - Go-gobject-gen needs a way to share code between gtk-2.0 and gtk-3.0.
Something went wrong with that request. Please try again.