From fb3128ed2a83a0f644661cedebbe5bfda3f4951e Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Fri, 11 May 2012 02:01:29 -0400 Subject: [PATCH] doc updates and a quick usage --- nexgb/README | 5 +++++ nexgb/doc.go | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/nexgb/README b/nexgb/README index 22aded8..1213ab5 100644 --- a/nexgb/README +++ b/nexgb/README @@ -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 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 ================= I've forked the XGB repository from Google Code due to inactivty upstream. diff --git a/nexgb/doc.go b/nexgb/doc.go index 91c6406..9a9531c 100644 --- a/nexgb/doc.go +++ b/nexgb/doc.go @@ -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 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