Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/visualfc/go-ui
golang ui
https://github.com/visualfc/go-ui
Last synced: 16 days ago
JSON representation
golang ui
- Host: GitHub
- URL: https://github.com/visualfc/go-ui
- Owner: visualfc
- License: bsd-2-clause
- Created: 2012-07-12T06:48:00.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T20:33:45.000Z (over 4 years ago)
- Last Synced: 2024-10-13T00:52:40.682Z (30 days ago)
- Language: Go
- Size: 172 KB
- Stars: 297
- Watchers: 40
- Forks: 105
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#go-ui 0.1.1
=====## This project is closed !!!
## Please goto new project [GoQt](https://github.com/visualfc/goqt)##Introduction
go-ui is a cross-platform golang ui tool kit, based on qt.##System
Windows / Linux / MacOS X##License
go-ui lib BSD
qtdrv lib LGPL##Build go-ui and examples
###1.get go-ui
$ go get github.com/visualfc/go-ui
###2.build qtdrv, need install QtSDK
$ cd go-ui/qtdrv
$ qmake "CONFIG+=release"
$ make
###3.build go-ui
$ cd go-ui/ui
$ go install
###4.build examples
$ cd go-ui/examples
$ go build -ldflags '-r ../lib' minimal.go
$ ./minimal##Examples
package main
import (
"github.com/visualfc/go-ui/ui"
)
func main() {
ui.Main(func() {
w := ui.NewWidget()
w.SetWindowTitle(ui.Version())
w.SetSizev(300, 200)
defer w.Close()
w.Show()
ui.Run()
})
}