Fyne is an easy to use UI toolkit and app API written in Go. It is designed to build applications that run on desktop and mobile devices with a single codebase...
First is need to install these packages with DNF tool:
[mythcat@desk ~]$ sudo dnf install golang [sudo] password for mythcat: ... Installed: golang-1.13.6-1.fc31.x86_64 golang-bin-1.13.6-1.fc31.x86_64 golang-src-1.13.6-1.fc31.noarch mercurial-4.9-2.fc31.x86_64 Complete!
Let's install the fyne toolkit and the demo application:
[root@desk mythcat]# dnf install libX11-devel libXcursor-devel libXrandr-devel libXinerama-devel mesa-libGL-devel libXi-devel Last metadata expiration check: 0:04:28 ago on Sun 16 Feb 2020 12:25:04 PM EET. Package libX11-devel-1.6.9-2.fc31.x86_64 is already installed. Package mesa-libGL-devel-19.2.8-1.fc31.x86_64 is already installed. Package libXi-devel-1.7.10-2.fc31.x86_64 is already installed. Dependencies resolved. ... Installed: libXcursor-devel-1.1.15-6.fc31.x86_64 libXinerama-devel-1.1.4-4.fc31.x86_64 libXrandr-devel-1.5.2-2.fc31.x86_64 libXrender-devel-0.9.10-10.fc31.x86_64 Complete!
I run the demo with this command and works very well:
[mythcat@desk ~]$ go get fyne.io/fyne [mythcat@desk ~]$ go get fyne.io/fyne/cmd/fyne_demo/
[mythcat@desk ~]$ go run /home/mythcat/go/src/fyne.io/fyne/cmd/fyne_demo/main.go