fyne 简单难看的 GUI

最后更新于:2022-04-02 02:38:44

[TOC] > [https://github.com/fyne-io/fyne](https://github.com/fyne-io/fyne) > [官方文档](https://fyne.io/develop/widgets.html) ## 概述 ![UTOOLS1582089059252.png](http://yanxuan.nosdn.127.net/e427ca92020fd6acf08f60daa8ad3350.png) :-: 白色主题 ![UTOOLS1582089071030.png](http://yanxuan.nosdn.127.net/08ea55be734dfca53b421888bb2a1466.png) :-: 黑色主题 ## demo ``` package main import ( "fyne.io/fyne/widget" "fyne.io/fyne/app" ) func main() { app := app.New() w := app.NewWindow("Hello") w.SetContent(widget.NewVBox( widget.NewLabel("Hello Fyne!"), widget.NewButton("Quit", func() { app.Quit() }), )) w.ShowAndRun() } ```
';