guibuilder

package
v0.0.0-...-3973335 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder is a simple type handle for a GUI builder instance.

func NewBuilder

func NewBuilder(u fyne.URI, win fyne.Window) *Builder

NewBuilder returns an instance of the GUI builder for the specified URI. The Window parameter allows presenting dialogs etc.

func (*Builder) MakeUI

func (b *Builder) MakeUI() fyne.CanvasObject

MakeUI builds the UI for the current GUI builder.

func (*Builder) Run

func (b *Builder) Run()

Run generates a go main function and runs it so we can preview the UI in a real app.

func (*Builder) Save

func (b *Builder) Save() error

Save will trigger the current state to be written out to the file this was opened from.

Jump to

Keyboard shortcuts

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