Here we will gather example apps that use the Fyne toolkit.
You can start the main example app that links to all the others by running
go run main.go
or you can specify a particular example by naming it in the parameter list, like:
go run main.go -calculator
Alternatively each app has a direct main executable in the cmd/* folders.
All these examples are fully scalable - try setting the FYNE_SCALE
environment variable to override the detection of your screen's density.
Many also respond to the current theme (this is default behaviour for
apps built using Fyne widgets) - you can try setting FYNE_THEME=light
to change from the default dark theme.
The following examples use mostly built in widgets making applications trivial to build :).
Hunt the squares to reveal everything apart from the bugs!
An XKCD comic browser with random and lookup features.
These examples use the Fyne canvas API to draw primitive shapes, text and images to create custom user interfaces.
A simple analog clock that matches the current theme.
A fractal viewer that can be panned and zoomed
A simple game of solitaire.
A basic visualisation of Conway's game of life.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。