Skip to content
GObject-introspection based bindings generator
Go Python C C++
Find file
Failed to load latest commit information.
atk-1.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
cairo-1.0 Fix build. Mar 8, 2012
documentation Add WhyWaf.txt to docs. Mar 3, 2012
gdk-2.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
gdk-3.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
gdkpixbuf-2.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
gi Fix build. Mar 8, 2012
gio-2.0 Blacklist one more conflicting item. Dec 8, 2012
glib-2.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
gobject-2.0 Bump up version and few fixes for that. Apr 24, 2012
gogtk-demo Allow 'install' and do it properly. Mar 2, 2012
gtk-2.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
gtk-3.0 Fix build for new versions, bump version numbers in README. Oct 19, 2012
gtksource-3.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
pango-1.0 Bump up version and few fixes for that. Apr 24, 2012
pangocairo-1.0 Fix for the latest cgo plus some refactoring. Mar 1, 2012
waftools Go compilers have the new strict requirement for flags. Jun 17, 2013
.gitignore Add few waf-related masks to .gitignore. Mar 3, 2012
LICENSE Add LICENSE file. Apr 21, 2012
README Nicer maintenance message. Fix grammar and it's not a markdown. Aug 30, 2013
binding_generator.go Format everything with gofmt. Mar 3, 2012
cairo.go Format everything with gofmt. Mar 3, 2012
comment_skipper.go Format everything with gofmt. Mar 3, 2012
config.json New word substitution facility. Apply cometic renames to the gtk pack… Jan 22, 2012
function_builder.go Format everything with gofmt. Mar 3, 2012
main.go Format everything with gofmt. Mar 3, 2012
templates.go Bump up version and few fixes for that. Apr 24, 2012
type.go Format everything with gofmt. Mar 3, 2012
typeconv.go Fix missing EOL typo. Mar 15, 2012
util.go Format everything with gofmt. Mar 3, 2012
waf Remove Makefiles, use waf-based build system. Feb 22, 2012
wscript Fix build. Mar 8, 2012

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.