1 Star 0 Fork 0

tianxia007 / examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

Code Status Join us on Slack Support Fyne.io
Build Status Coverage Status

Fyne Examples

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.

Widget based examples

The following examples use mostly built in widgets making applications trivial to build :).

Calculator

 

Bugs game (like MineSweeper)

Hunt the squares to reveal everything apart from the bugs!

XKCD

An XKCD comic browser with random and lookup features.

Graphics based examples

These examples use the Fyne canvas API to draw primitive shapes, text and images to create custom user interfaces.

Clock

A simple analog clock that matches the current theme.

 

Fractal

A fractal viewer that can be panned and zoomed

Solitaire

A simple game of solitaire.

Life

A basic visualisation of Conway's game of life.

Copyright (C) 2018 Fyne.io developers (see AUTHORS) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Fyne.io nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

Examples apps using the Fyne toolkit 展开 收起
Go
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/dwxdfhx/examples.git
git@gitee.com:dwxdfhx/examples.git
dwxdfhx
examples
examples
develop

搜索帮助

53164aa7 5694891 3bd8fe86 5694891