Skip to content
/ go-ui Public
forked from visualfc/go-ui

golang ui

License

BSD-2-Clause, LGPL-2.1 licenses found

Licenses found

BSD-2-Clause
LICENSE
LGPL-2.1
LICENSE.LGPL
Notifications You must be signed in to change notification settings

chuanyi/go-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

#go-ui 0.1.1

##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()
    })
}

About

golang ui

Resources

License

BSD-2-Clause, LGPL-2.1 licenses found

Licenses found

BSD-2-Clause
LICENSE
LGPL-2.1
LICENSE.LGPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published