workspaces

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(view *View, state *state.Workspaces, repo repository.Repository) *Controller

func (*Controller) LoadData

func (c *Controller) LoadData() error

type Item

type Item struct {
	Name *widgets.EditableLabel
	// contains filtered or unexported fields
}

type View

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

func NewView

func NewView() *View

func (*View) AddItem

func (v *View) AddItem(item *domain.Workspace)

func (*View) Filter

func (v *View) Filter(text string)

func (*View) Layout

func (v *View) Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions

func (*View) SetItems

func (v *View) SetItems(items []*domain.Workspace)

func (*View) SetOnDelete

func (v *View) SetOnDelete(f func(w *domain.Workspace))

func (*View) SetOnNew

func (v *View) SetOnNew(f func())

func (*View) SetOnUpdate

func (v *View) SetOnUpdate(f func(w *domain.Workspace))

Jump to

Keyboard shortcuts

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