ui

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: BSD-3-Clause Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const ThumbnailSize = float32(128)

Variables

This section is empty.

Functions

func NewFileTree

func NewFileTree(root fyne.URI) *widget.Tree

Types

type LocalThumbnailTable

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

func NewLocalThumbnailTable

func NewLocalThumbnailTable(callback func(id string, uri fyne.URI)) *LocalThumbnailTable

func (*LocalThumbnailTable) AddURI

func (t *LocalThumbnailTable) AddURI(uri fyne.URI) error

func (LocalThumbnailTable) Count

func (t LocalThumbnailTable) Count() int

func (*LocalThumbnailTable) Update

func (t *LocalThumbnailTable) Update(root fyne.URI) error

type SpaceThumbnailTable

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

func NewSpaceThumbnailTable

func NewSpaceThumbnailTable(client spaceclientgo.SpaceClient, callback func(id string, timestamp uint64, meta *spacego.Meta)) *SpaceThumbnailTable

func (*SpaceThumbnailTable) AddMeta

func (t *SpaceThumbnailTable) AddMeta(entry *bcgo.BlockEntry, meta *spacego.Meta) error

func (*SpaceThumbnailTable) Clear

func (t *SpaceThumbnailTable) Clear()

func (SpaceThumbnailTable) Count

func (t SpaceThumbnailTable) Count() int

func (*SpaceThumbnailTable) Update

func (t *SpaceThumbnailTable) Update(node bcgo.Node) error

type Viewer

type Viewer struct {
	widget.BaseWidget
	Name string
	URI  fyne.URI
}

func NewViewer

func NewViewer() *Viewer

func (*Viewer) CreateRenderer

func (v *Viewer) CreateRenderer() fyne.WidgetRenderer

func (*Viewer) MinSize

func (v *Viewer) MinSize() fyne.Size

func (*Viewer) SetSource

func (v *Viewer) SetSource(name string, uri fyne.URI)

Jump to

Keyboard shortcuts

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