doc updates and a quick usage

This commit is contained in:
Andrew Gallant (Ocelot) 2012-05-11 02:01:29 -04:00
parent 3e6b354493
commit fb3128ed2a
2 changed files with 5 additions and 9 deletions

View File

@ -10,6 +10,11 @@ Please see doc.go for more info.
Note that unless you know you need XGB, you can probably make your life Note that unless you know you need XGB, you can probably make your life
easier by using a slightly higher level library: xgbutil. easier by using a slightly higher level library: xgbutil.
Quick Usage
===========
go get github.com/BurntSushi/xgb
go run go/path/src/github.com/BurntSushi/xgb/examples/create-window/main.go
BurntSushi's Fork BurntSushi's Fork
================= =================
I've forked the XGB repository from Google Code due to inactivty upstream. I've forked the XGB repository from Google Code due to inactivty upstream.

View File

@ -142,14 +142,5 @@ that GLX also does not work (however, there is Go source code for GLX that
compiles, unlike XKB). I don't currently have any intention of getting XKB compiles, unlike XKB). I don't currently have any intention of getting XKB
working, due to its complexity and my current mental incapacity to test it. working, due to its complexity and my current mental incapacity to test it.
There are so many functions
Indeed. Everything below this initial overview is useful insomuch as your
browser's "Find" feature is useful. The following list of types and functions
should act as a reference to the Go representation of a request, type or reply
of something you *already know about*. To search the following list in hopes
of attaining understanding is a quest in folly. For understanding, please see
the X Protocol Reference Manual: http://goo.gl/aMd2e
*/ */
package xgb package xgb