playground

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package playground provides tooling for running fyne applications inside the Go playground.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSoftwareCanvas

func NewSoftwareCanvas() test.WindowlessCanvas

NewSoftwareCanvas creates a new canvas in memory that can render without hardware support

func Render

func Render(obj fyne.CanvasObject)

Render takes a canvasobject and converts it into an inline image for showing in the playground

func RenderCanvas

func RenderCanvas(c fyne.Canvas)

RenderCanvas takes a canvas and converts it into an inline image for showing in the playground

func RenderWindow

func RenderWindow(w fyne.Window)

RenderWindow takes a window and converts it's canvas into an inline image for showing in the playground

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL