Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gofaith/faithtop
Cross-Platform Desktop GUI framework for Go
https://github.com/gofaith/faithtop
golang gtk2 qt walk
Last synced: about 2 months ago
JSON representation
Cross-Platform Desktop GUI framework for Go
- Host: GitHub
- URL: https://github.com/gofaith/faithtop
- Owner: gofaith
- Created: 2018-10-12T01:52:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-25T06:41:12.000Z (about 3 years ago)
- Last Synced: 2024-10-04T22:01:17.572Z (3 months ago)
- Topics: golang, gtk2, qt, walk
- Language: Go
- Homepage:
- Size: 5.33 MB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Faithtop
Faithtop是一个基于[Qt](https://github.com/therecipe/qt)的Go语言的桌面GUI框架, 用于快速编写桌面应用
![demo](res/img/demo.png)
## [查看文档](https://github.com/gofaith/faithtop/wiki)
---
## 快速开始
1.安装[github.com/therecipe/qt](https://github.com/therecipe/qt)
2.安装`faithtop`
```shell
GO111MODULE=off go get github.com/gofaith/faithtop
```3.新建`main.go`文件
```go
package mainimport (
. "github.com/gofaith/faithtop"
)func main() {
app := NewApp()var label ILabel
var edit IEditWindow().DeferShow().CenterWidget(VBox(
Label2("This is a text label").Assign(&label),
Edit().Assign(&edit),
Button2("show").OnClick(func() {
label.Text(edit.GetText())
}),
))app.Run()
}
```4.运行
```shell
qtdeploy -tags=impl build desktop
```![demo](res/img/hello.png)
## 更多
[开发文档](https://github.com/gofaith/faithtop/wiki)
## 使用Faithdroid开发的App
[局域网精灵专业版](https://lan-genius.com)