ui

package
v0.0.0-...-775c6d9 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSignal

func NewSignal(onDelete func(signal.Generator)) *signalWidget

func NewSignalList

func NewSignalList(engine signal.Engine) *signalList

NewSignalList creates a new accordion widget.

Types

type FixedLayout

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

func NewFixedLayout

func NewFixedLayout(minSize ...float32) *FixedLayout

func (*FixedLayout) Layout

func (l *FixedLayout) Layout(objects []fyne.CanvasObject, size fyne.Size)

Layout will manipulate the listed CanvasObjects Size and Position to fit within the specified size.

func (*FixedLayout) MinSize

func (l *FixedLayout) MinSize(objects []fyne.CanvasObject) (size fyne.Size)

MinSize calculates the smallest size that will fit the listed CanvasObjects using this Layout algorithm.

type Signal

type Signal interface {
	UpdateGenerator(signal.Generator)
}

Jump to

Keyboard shortcuts

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