Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new api: NewConnXgb. We can use the specific xgb.Conn to init a xgbutil.XUtil #28

Merged
merged 1 commit into from Feb 24, 2015

Conversation

harryfei
Copy link
Contributor

Add a new api: NewConnXgb. We can use a specific/custom xgb.Conn to initialize a xgbutil.Xutil.

example:

xgbConn, _ := xgb.NewConnDisplay(":1")
X, _ := xgbutil.NewConnXgb(xgbConn)

Meanwhile, the NewConn and NewConnDisplay calls the NewConnXgb.

BurntSushi added a commit that referenced this pull request Feb 24, 2015
add new api: NewConnXgb. We can use the specific xgb.Conn to init a xgbutil.XUtil
@BurntSushi BurntSushi merged commit 23a8699 into BurntSushi:master Feb 24, 2015
@BurntSushi
Copy link
Owner

Great. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants