Questions tagged [gxui]

An experimental Go cross-platform UI library.

GXUI is an experimental cross-platform UI library. Originally it was written by a couple of Googlers as an experiment, but it is now open-source, and with the help of the community GXUI could mature into something far more interesting.

Home page: GXUI Github Page
Godoc can be viewed here (which is currently rather poor): GXUI Godoc

First commits to the Github repository are dated February, 2015, but it only appeared in the News and gained popularity and attention at the end of March 2015.

It is still in its early stages, API breaking changes may be committed daily. As the README page states:

"All code in this package is experimental and will have frequent breaking changes. Please feel free to play, but please don't be upset when the API has significant reworkings."

"The code is currently undocumented, and is certainly not idiomatic Go. It will be heavily refactored over the coming months."

5 questions
4
votes
1 answer

How to SetSize of LinearLayout in GXUI

I'm trying to make a grid with GXUI, I use LinearLayout for rows and columns, but I have a problem with resizing it. package main import ( "fmt" "github.com/google/gxui" "github.com/google/gxui/math" "github.com/google/gxui/drivers/gl" …
Maxim Samburskiy
  • 1,811
  • 2
  • 11
  • 13
2
votes
1 answer

Why not changing the mapping of the progress bar in gxui?

I wanted to use the Progress bar from gxui, but get not what I expected. The example works as it should,but change it I did not succeed. Here is the code: package main import ( "fmt" "io/ioutil" "log" "net/http" "time" …
user4651282
2
votes
1 answer

Go GXUI - how to set TextBox size?

I'm currently trying to figure out how to set a Go GXUI TextBox size. I tried: textBox := theme.CreateTextBox() textBox.SetText("") textBox.SetSize(math.Size{W: 300, H: 300}) But it doesn't appear to be working - I'm getting a narrow rectangular…
ThePiachu
  • 8,695
  • 17
  • 65
  • 94
2
votes
2 answers

Make window scroll in Go with GXUI

I am trying to add scroll bars to my application windows in Go using GXUI. Say I have this code: package main import ( "fmt" "github.com/google/gxui" "github.com/google/gxui/drivers/gl" "github.com/google/gxui/samples/flags" …
Barry McNamara
  • 689
  • 9
  • 18
0
votes
1 answer

build google/gxui samples error on mac

I git clone code from github.com/google/gxui and then cd samples/hello_word GOOS=windows go build an error occurred it says /d01/gopath/src/github.com/goxjs/gl/gl_opengl.go:10:2: no buildable Go source files in…
toalaska
  • 1
  • 1