Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
GObject-introspection based bindings generator
Go Python C
branch: master
Failed to load latest commit information.
atk-1.0 Fix for the latest cgo plus some refactoring.
cairo-1.0 Fix build.
documentation Add WhyWaf.txt to docs.
gdk-2.0 Fix for the latest cgo plus some refactoring.
gdk-3.0 Fix for the latest cgo plus some refactoring.
gdkpixbuf-2.0 Fix for the latest cgo plus some refactoring.
gi Fix build.
gio-2.0 Blacklist one more conflicting item.
glib-2.0 Fix for the latest cgo plus some refactoring.
gobject-2.0 Bump up version and few fixes for that.
gogtk-demo Allow 'install' and do it properly.
gtk-2.0 Fix for the latest cgo plus some refactoring.
gtk-3.0 Fix build for new versions, bump version numbers in README.
gtksource-3.0 Fix for the latest cgo plus some refactoring.
pango-1.0 Bump up version and few fixes for that.
pangocairo-1.0 Fix for the latest cgo plus some refactoring.
waftools Go compilers have the new strict requirement for flags.
.gitignore Add few waf-related masks to .gitignore.
LICENSE Add LICENSE file.
README Nicer maintenance message. Fix grammar and it's not a markdown.
binding_generator.go Format everything with gofmt.
cairo.go Format everything with gofmt.
comment_skipper.go Format everything with gofmt.
config.json New word substitution facility. Apply cometic renames to the gtk pack…
function_builder.go Format everything with gofmt.
main.go Format everything with gofmt.
templates.go Bump up version and few fixes for that.
type.go Format everything with gofmt.
typeconv.go Fix missing EOL typo.
util.go Format everything with gofmt.
waf Remove Makefiles, use waf-based build system.
wscript Fix build.

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.