Skip to content

Barpfotenbaer/examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Status 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 exapmple 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 fratal viewer that can be panned and zoomed

Solitaire

A simple game of solitaire.

Life

A basic visualisation of Conway's game of life.

About

Examples apps using the Fyne toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%