Skip to content

Russtopia/gogoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

gogoo

Automatically exported from code.google.com/p/gogoo

Collection of desktop related packages for the Go language

The goo is a collection of packages for the Go language that extend the language to include popular aspects of desktop programming.

About

This package implements a drawable gui surface using cgo to create a wrapper for cairo and gtk2. A user defined interface is passed to the package, where the package will execute interface methods in response to gui events. What's particularly nice about the callbacks is that their presence means they will get called. No other setup is neccesary (a particularly nice feature of Go's interfaces).

Here's a screenshot of the example 'main' file in the source repository. It creates two surfaces, each with the same delegate (meaning, they will behave identically in this case). Mouse motion is tracked by an interface function and drawn to the surface using simple commands.

About

Automatically exported from code.google.com/p/gogoo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published