Documentation

Index

Constants

This section is empty.

Variables

View Source
var FocusNextCell = FocusCell{Delta: 1}
View Source
var FocusPrevCell = FocusCell{Delta: -1}
View Source
var SelectNextCell = FocusCell{Delta: 1}
View Source
var SelectPrevCell = FocusCell{Delta: -1}

Functions

This section is empty.

Types

type AddCell

type AddCell struct{ Type, Content string }

func (AddCell) SlotEvent

func (AddCell) SlotEvent()

type FocusCell

type FocusCell struct{ Delta int }

func (FocusCell) SlotEvent

func (FocusCell) SlotEvent()

type PlusButton

type PlusButton struct{}

func (PlusButton) Layout

func (b PlusButton) Layout(gtx *Context, button *widget.Button)

type SelectCell

type SelectCell struct{ Delta int }

func (SelectCell) SlotEvent

func (SelectCell) SlotEvent()

type Slot

type Slot interface {
	Index() int
	Layout(isLast bool, gtx *layout.Context)
}

func NewSlot

func NewSlot() Slot

type SlotEvent

type SlotEvent interface{ SlotEvent() }