Documentation ¶
Index ¶
- type Controller
- type Item
- type View
- func (v *View) AddItem(item *domain.Workspace)
- func (v *View) Filter(text string)
- func (v *View) Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions
- func (v *View) RemoveItem(item *domain.Workspace)
- func (v *View) SetItems(items []*domain.Workspace)
- func (v *View) SetOnDelete(f func(w *domain.Workspace))
- func (v *View) SetOnNew(f func())
- func (v *View) SetOnUpdate(f func(w *domain.Workspace))
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 (*View) Layout ¶
func (v *View) Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions
func (*View) RemoveItem ¶
func (*View) SetOnDelete ¶
func (*View) SetOnUpdate ¶
Click to show internal directories.
Click to hide internal directories.