psmlmodel

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	*table.SimpleModel
	// contains filtered or unexported fields
}

Model is a table model that provides a widget that will render in one row only when not selected.

func New

func (*Model) CellWidget

func (c *Model) CellWidget(i int, s string) gowid.IWidget

Provides the ith "cell" widget, upstream makes the "row"

func (*Model) CellWidgets

func (c *Model) CellWidgets(row table.RowId) []gowid.IWidget

func (*Model) HeaderWidget

func (c *Model) HeaderWidget(ws []gowid.IWidget, focus int) gowid.IWidget

table.ITable2

func (*Model) HeaderWidgets

func (c *Model) HeaderWidgets() []gowid.IWidget

Jump to

Keyboard shortcuts

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