# examples **Repository Path**: dwxdfhx/examples ## Basic Information - **Project Name**: examples - **Description**: Examples apps using the Fyne toolkit - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-15 - **Last Updated**: 2024-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
# Fyne Examples Here we will gather example apps that use the [Fyne](http://fyne.io) toolkit. You can start the main example app that links to all the others by running ```bash go run main.go ``` or you can specify a particular example by naming it in the parameter list, like: ```bash 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. 